Struct rustc::traits::on_unimplemented::OnUnimplementedFormatString [−][src]
pub struct OnUnimplementedFormatString(LocalInternedString);
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Methods
impl<'a, 'gcx, 'tcx> OnUnimplementedFormatString
[src]
impl<'a, 'gcx, 'tcx> OnUnimplementedFormatString
pub fn try_parse(
tcx: TyCtxt<'a, 'gcx, 'tcx>,
trait_def_id: DefId,
from: LocalInternedString,
err_sp: Span
) -> Result<Self, ErrorReported>
[src]
pub fn try_parse(
tcx: TyCtxt<'a, 'gcx, 'tcx>,
trait_def_id: DefId,
from: LocalInternedString,
err_sp: Span
) -> Result<Self, ErrorReported>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn verify(
&self,
tcx: TyCtxt<'a, 'gcx, 'tcx>,
trait_def_id: DefId,
span: Span
) -> Result<(), ErrorReported>
[src]
fn verify(
&self,
tcx: TyCtxt<'a, 'gcx, 'tcx>,
trait_def_id: DefId,
span: Span
) -> Result<(), ErrorReported>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn format(
&self,
tcx: TyCtxt<'a, 'gcx, 'tcx>,
trait_ref: TraitRef<'tcx>
) -> String
[src]
pub fn format(
&self,
tcx: TyCtxt<'a, 'gcx, 'tcx>,
trait_ref: TraitRef<'tcx>
) -> String
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Trait Implementations
impl Clone for OnUnimplementedFormatString
[src]
impl Clone for OnUnimplementedFormatString
fn clone(&self) -> OnUnimplementedFormatString
[src]
fn clone(&self) -> OnUnimplementedFormatString
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for OnUnimplementedFormatString
[src]
impl Debug for OnUnimplementedFormatString
Auto Trait Implementations
impl !Send for OnUnimplementedFormatString
impl !Send for OnUnimplementedFormatString
impl !Sync for OnUnimplementedFormatString
impl !Sync for OnUnimplementedFormatString