Module rustc_mir::interpret::const_eval[][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?

Re-exports

use rustc::hir;
use rustc::middle::const_val::ConstEvalErr;
use rustc::middle::const_val::ErrKind;
use rustc::middle::const_val::ErrKind::TypeckError;
use rustc::middle::const_val::ErrKind::CheckMatchError;
use rustc::mir;
use rustc::ty;
use rustc::ty::TyCtxt;
use rustc::ty::Ty;
use rustc::ty::Instance;
use rustc::ty::layout;
use rustc::ty::layout::LayoutOf;
use rustc::ty::layout::Primitive;
use rustc::ty::subst::Subst;
use syntax::ast::Mutability;
use syntax::codemap::Span;
use syntax::codemap::DUMMY_SP;
use rustc::mir::interpret::EvalResult;
use rustc::mir::interpret::EvalError;
use rustc::mir::interpret::EvalErrorKind;
use rustc::mir::interpret::GlobalId;
use rustc::mir::interpret::Value;
use rustc::mir::interpret::Scalar;
use rustc::mir::interpret::AllocId;
use rustc::mir::interpret::Allocation;
use rustc::mir::interpret::ConstValue;
use super::Place;
use super::EvalContext;
use super::StackPopCleanup;
use super::ValTy;
use super::PlaceExtra;
use super::Memory;
use super::MemoryKind;
use std::fmt;
use std::error::Error;
use rustc_data_structures::sync::Lrc;

Structs

CompileTimeEvaluator [
Experimental
]

Enums

ConstEvalError [
Experimental
]

Functions

const_eval_provider [
Experimental
]
const_val_field [
Experimental
]
const_value_to_allocation_provider [
Experimental
]
const_variant_index [
Experimental
]
eval_body_and_ecx [
Experimental
]
eval_body_using_ecx [
Experimental
]
eval_promoted [
Experimental
]
mk_borrowck_eval_cx [
Experimental
]
mk_eval_cx [
Experimental
]
numeric_intrinsic [
Experimental
]
value_to_const_value [
Experimental
]