Enum rustc_mir::interpret::const_eval::ConstEvalError[][src]

enum ConstEvalError {
    NeedsRfc(String),
    NotConst(String),
}
🔬 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?

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

Trait Implementations

impl<'tcx> Into<EvalError<'tcx>> for ConstEvalError
[src]

Performs the conversion.

impl Clone for ConstEvalError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ConstEvalError
[src]

Formats the value using the given formatter. Read more

impl Display for ConstEvalError
[src]

Formats the value using the given formatter. Read more

impl Error for ConstEvalError
[src]

This method is soft-deprecated. Read more

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

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

unclear whether to commit to this public implementation detail

Get the TypeId of self

Auto Trait Implementations

impl Send for ConstEvalError

impl Sync for ConstEvalError