Struct syntex_syntax::diagnostic::ExplicitBug [] [src]

pub struct ExplicitBug;

Signifies that the compiler died with an explicit call to .bug or .span_bug rather than a failed assertion, etc.

Trait Implementations

impl Display for ExplicitBug
[src]

fn fmt(&self, f: &mut Formatter) -> Result<(), Error>

Formats the value using the given formatter.

impl Error for ExplicitBug
[src]

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>
1.0.0

The lower-level cause of this error, if any.

Derived Implementations

impl Debug for ExplicitBug
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for ExplicitBug
[src]

fn clone(&self) -> ExplicitBug

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for ExplicitBug
[src]