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 ExplicitBug
fn clone(&self) -> ExplicitBug
[src]
fn clone(&self) -> ExplicitBug
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 ExplicitBug
[src]
impl Debug for ExplicitBug
fn 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 ExplicitBug
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This 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 ExplicitBug
impl Display for ExplicitBug
[src]
impl Display for ExplicitBug
Auto Trait Implementations
impl Send for ExplicitBug
impl Send for ExplicitBug
impl Sync for ExplicitBug
impl Sync for ExplicitBug