Struct rustc::mir::interpret::EvalError [−][src]
pub struct EvalError<'tcx> { pub 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?
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?
Trait Implementations
impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for EvalError<'tcx>
[src]
impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for EvalError<'tcx>
fn hash_stable<W: StableHasherResult>(
&self,
__ctx: &mut StableHashingContext<'a>,
__hasher: &mut StableHasher<W>
)
[src]
fn hash_stable<W: StableHasherResult>(
&self,
__ctx: &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) -> 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> Encodable for EvalError<'tcx>
[src]
impl<'tcx> Encodable for EvalError<'tcx>
fn encode<__S: Encoder>(&self, s: &mut __S) -> Result<(), __S::Error>
[src]
fn encode<__S: Encoder>(&self, s: &mut __S) -> Result<(), __S::Error>
🔬 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> Decodable for EvalError<'tcx>
[src]
impl<'tcx> Decodable for EvalError<'tcx>
fn decode<__D: Decoder>(d: &mut __D) -> Result<EvalError<'tcx>, __D::Error>
[src]
fn decode<__D: Decoder>(d: &mut __D) -> Result<EvalError<'tcx>, __D::Error>
🔬 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> 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>) -> Self
Performs 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) -> 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?