Enum rustc::middle::const_val::ErrKind
[−]
[src]
pub enum ErrKind<'tcx> { NonConstPath, UnimplementedConstVal(&'static str), IndexOutOfBounds { len: u64, index: u64, }, Math(ConstMathErr), LayoutError(LayoutError<'tcx>), TypeckError, CheckMatchError, Miri(EvalError<'tcx>, Vec<FrameInfo>), }
🔬 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
NonConstPath
🔬 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?
UnimplementedConstVal(&'static str)
🔬 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?
IndexOutOfBounds
🔬 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 of IndexOutOfBounds
len: u64 | 🔬 This is a nightly-only experimental API. ( |
index: u64 | 🔬 This is a nightly-only experimental API. ( |
Math(ConstMathErr)
🔬 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?
LayoutError(LayoutError<'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?
TypeckError
🔬 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?
CheckMatchError
🔬 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?
Miri(EvalError<'tcx>, Vec<FrameInfo>)
🔬 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 ErrKind<'gcx>
[src]
impl<'a, 'gcx> HashStable<StableHashingContext<'a>> for ErrKind<'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> Clone for ErrKind<'tcx>
[src]
impl<'tcx> Clone for ErrKind<'tcx>
fn clone(&self) -> ErrKind<'tcx>
[src]
fn clone(&self) -> ErrKind<'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> Debug for ErrKind<'tcx>
[src]
impl<'tcx> Debug for ErrKind<'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> From<ConstMathErr> for ErrKind<'tcx>
[src]
impl<'tcx> From<ConstMathErr> for ErrKind<'tcx>
fn from(err: ConstMathErr) -> ErrKind<'tcx>
[src]
fn from(err: ConstMathErr) -> ErrKind<'tcx>
Performs the conversion.
impl<'a, 'tcx> Lift<'tcx> for ErrKind<'a>
[src]
impl<'a, 'tcx> Lift<'tcx> for ErrKind<'a>
type Lifted = ErrKind<'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?