Enum rustc_const_eval::ConstEvalErrDescription [] [src]

pub enum ConstEvalErrDescription<'a> {
    Simple(Cow<'a, str>),
}
🔬 This is a nightly-only experimental API. (rustc_private)

Variants

🔬 This is a nightly-only experimental API. (rustc_private)

Methods

impl<'a> ConstEvalErrDescription<'a>
[src]

🔬 This is a nightly-only experimental API. (rustc_private)

Return a one-line description of the error, for lints and such

Trait Implementations

impl<'a> Clone for ConstEvalErrDescription<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Debug for ConstEvalErrDescription<'a>
[src]

Formats the value using the given formatter.