Struct syntax::diagnostics::plugin::ExplicitBug [−][src]
pub struct ExplicitBug;
🔬 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?
Signifies that the compiler died with an explicit call to .bug
or .span_bug rather than a failed assertion, etc.
Trait Implementations
impl Clone for ExplicitBug[src]
impl Clone for ExplicitBugfn clone(&self) -> ExplicitBug[src]
fn clone(&self) -> ExplicitBugReturns 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 ExplicitBug[src]
impl Debug for ExplicitBugfn fmt(&self, f: &mut Formatter) -> Result<(), Error>[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl Error for ExplicitBug[src]
impl Error for ExplicitBugfn description(&self) -> &str[src]
fn description(&self) -> &strThis method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>1.0.0[src]
fn cause(&self) -> Option<&Error>1.0.0
[src]The lower-level cause of this error, if any. Read more
fn type_id(&self) -> TypeId where
Self: 'static, [src]
fn type_id(&self) -> TypeId where
Self: 'static, 🔬 This is a nightly-only experimental API. (error_type_id)
unclear whether to commit to this public implementation detail
Get the TypeId of self
impl Copy for ExplicitBug[src]
impl Copy for ExplicitBugimpl Display for ExplicitBug[src]
impl Display for ExplicitBugAuto Trait Implementations
impl Send for ExplicitBug
impl Send for ExplicitBugimpl Sync for ExplicitBug
impl Sync for ExplicitBug