Module rustc_mir::hair::cx [−][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?
This module contains the code to convert from the wacky tcx data
structures into the hair. The builder
is generally ignorant of
the tcx etc, and instead goes through the Cx
for most of its
work.
Re-exports
use hair::*; |
use rustc::middle::const_val::ConstVal; |
use rustc_data_structures::indexed_vec::Idx; |
use rustc::hir::def_id::DefId; |
use rustc::hir::def_id::LOCAL_CRATE; |
use rustc::hir::map::blocks::FnLikeNode; |
use rustc::middle::region; |
use rustc::infer::InferCtxt; |
use rustc::ty::layout::IntegerExt; |
use rustc::ty::subst::Subst; |
use rustc::ty; |
use rustc::ty::Ty; |
use rustc::ty::TyCtxt; |
use rustc::ty::layout; |
use rustc::ty::subst::Substs; |
use syntax::ast; |
use syntax::ast::LitKind; |
use syntax::attr; |
use syntax::symbol::Symbol; |
use rustc::hir; |
use rustc_data_structures::sync::Lrc; |
use rustc::mir::interpret::Value; |
use rustc::mir::interpret::PrimVal; |
use hair::pattern::parse_float; |
Modules
block |
[ Experimental ]
|
expr |
[ Experimental ]
|
to_ref |
[ Experimental ]
|
Structs
Cx |
[ Experimental ]
|
Functions
lint_level_for_hir_id |
[ Experimental ]
|