Enum rustc::middle::const_val::ConstEvalErrDescription [] [src]

pub enum ConstEvalErrDescription<'a> {
    Simple(Cow<'a, str>),
}
🔬 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?

Variants

🔬 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> ConstEvalErrDescription<'a>
[src]

[src]

🔬 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?

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

Trait Implementations

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

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[src]

Formats the value using the given formatter. Read more