Enum rustc_mir::interpret::const_eval::ConstEvalError [−][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?
Variants
NeedsRfc(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?
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?
Trait Implementations
impl<'tcx> Into<EvalError<'tcx>> for ConstEvalError[src]
impl<'tcx> Into<EvalError<'tcx>> for ConstEvalErrorimpl Clone for ConstEvalError[src]
impl Clone for ConstEvalErrorfn clone(&self) -> ConstEvalError[src]
fn clone(&self) -> ConstEvalErrorReturns 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)Performs copy-assignment from source. Read more
impl Debug for ConstEvalError[src]
impl Debug for ConstEvalErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Display for ConstEvalError[src]
impl Display for ConstEvalErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Error for ConstEvalError[src]
impl Error for ConstEvalErrorfn description(&self) -> &str[src]
fn description(&self) -> &strThis method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>[src]
fn cause(&self) -> Option<&Error>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
Auto Trait Implementations
impl Send for ConstEvalError
impl Send for ConstEvalErrorimpl Sync for ConstEvalError
impl Sync for ConstEvalError