Module rustc::ich::hcx [−][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 hir; |
use hir::def_id::DefId; |
use hir::def_id::DefIndex; |
use hir::map::DefPathHash; |
use hir::map::definitions::Definitions; |
use ich; |
use ich::CachingCodemapView; |
use ich::Fingerprint; |
use middle::cstore::CrateStore; |
use ty::TyCtxt; |
use ty::fast_reject; |
use mir::interpret::AllocId; |
use session::Session; |
use std::cmp::Ord; |
use std::hash as std_hash; |
use std::collections::HashMap; |
use std::cell::RefCell; |
use syntax::ast; |
use syntax::codemap::CodeMap; |
use syntax::ext::hygiene::SyntaxContext; |
use syntax::symbol::Symbol; |
use syntax_pos::Span; |
use syntax_pos::DUMMY_SP; |
use syntax_pos::hygiene; |
use rustc_data_structures::stable_hasher::HashStable; |
use rustc_data_structures::stable_hasher::StableHasher; |
use rustc_data_structures::stable_hasher::StableHasherResult; |
use rustc_data_structures::stable_hasher::ToStableHashKey; |
use rustc_data_structures::accumulate_vec::AccumulateVec; |
use rustc_data_structures::fx::FxHashSet; |
use rustc_data_structures::fx::FxHashSet; |
use rustc_data_structures::fx::FxHashMap; |
use rustc_data_structures::fx::FxHashMap; |
Structs
BodyResolver |
[ Experimental ] The BodyResolver allows to map a BodyId to the corresponding hir::Body. We could also just store a plain reference to the hir::Crate but we want to avoid that the crate is used to get untracked access to all of the HIR. |
StableHashingContext |
[ Experimental ] This is the context state available during incr. comp. hashing. It contains enough information to transform DefIds and HirIds into stable DefPaths (i.e. a reference to the TyCtxt) and it holds a few caches for speeding up various things (e.g. each DefId/DefPath is only hashed once). |
Enums
NodeIdHashingMode |
[ Experimental ]
|
Traits
StableHashingContextProvider |
[ Experimental ] Something that can provide a stable hashing context. |
Functions
compute_ignored_attr_names |
[ Experimental ]
|
hash_stable_trait_impls |
[ Experimental ]
|