Struct rustc::mir::interpret::EvalError
[−]
[src]
pub struct EvalError<'tcx> { pub kind: EvalErrorKind<'tcx>, 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>
🔬 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, __arg_0: &mut Formatter) -> Result
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats 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>> for EvalError<'tcx>
[src]
impl<'tcx> From<EvalErrorKind<'tcx>> for EvalError<'tcx>
fn from(kind: EvalErrorKind<'tcx>) -> Self
[src]
fn from(kind: EvalErrorKind<'tcx>) -> Self
Performs the conversion.
impl<'tcx> Error for EvalError<'tcx>
[src]
impl<'tcx> Error for EvalError<'tcx>
fn description(&self) -> &str
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
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) -> Result
Formats 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?