Module rustc::ty::inhabitedness::def_id_forest [−][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 std::mem; |
use rustc_data_structures::small_vec::SmallVec; |
use syntax::ast::CRATE_NODE_ID; |
use ty::context::TyCtxt; |
use ty::DefId; |
use ty::DefIdTree; |
Structs
DefIdForest |
[ Experimental ] Represents a forest of DefIds closed under the ancestor relation. That is, if a DefId representing a module is contained in the forest then all DefIds defined in that module or submodules are also implicitly contained in the forest. |