Struct rustc::mir::interpret::error::EvalError [−][src]
pub struct EvalError<'tcx> {
pub kind: EvalErrorKind<'tcx, u64>,
pub backtrace: Option<Backtrace>,
}🔬 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?
Fields
kind: EvalErrorKind<'tcx, u64>
🔬 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?
backtrace: Option<Backtrace>
🔬 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<'a, 'gcx> HashStable<StableHashingContext<'a>> for EvalError<'gcx>[src]
impl<'a, 'gcx> HashStable<StableHashingContext<'a>> for EvalError<'gcx>fn hash_stable<W: StableHasherResult>(
&self,
hcx: &mut StableHashingContext<'a>,
hasher: &mut StableHasher<W>
)[src]
fn hash_stable<W: StableHasherResult>(
&self,
hcx: &mut StableHashingContext<'a>,
hasher: &mut StableHasher<W>
)🔬 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?
impl<'tcx> Debug for EvalError<'tcx>[src]
impl<'tcx> Debug for EvalError<'tcx>fn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<'tcx> Clone for EvalError<'tcx>[src]
impl<'tcx> Clone for EvalError<'tcx>fn clone(&self) -> EvalError<'tcx>[src]
fn clone(&self) -> EvalError<'tcx>Returns 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<'tcx> From<EvalErrorKind<'tcx, u64>> for EvalError<'tcx>[src]
impl<'tcx> From<EvalErrorKind<'tcx, u64>> for EvalError<'tcx>fn from(kind: EvalErrorKind<'tcx, u64>) -> Self[src]
fn from(kind: EvalErrorKind<'tcx, u64>) -> SelfPerforms the conversion.
impl<'tcx> Display for EvalError<'tcx>[src]
impl<'tcx> Display for EvalError<'tcx>fn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<'a, 'tcx> Lift<'tcx> for EvalError<'a>[src]
impl<'a, 'tcx> Lift<'tcx> for EvalError<'a>type Lifted = EvalError<'tcx>
🔬 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?
fn lift_to_tcx<'b, 'gcx>(
&self,
tcx: TyCtxt<'b, 'gcx, 'tcx>
) -> Option<Self::Lifted>[src]
fn lift_to_tcx<'b, 'gcx>(
&self,
tcx: TyCtxt<'b, 'gcx, 'tcx>
) -> Option<Self::Lifted>🔬 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?