Module rustc::ty::inhabitedness [−][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 util::nodemap::FxHashMap; |
use util::nodemap::FxHashSet; |
use ty::context::TyCtxt; |
use ty::AdtDef; |
use ty::VariantDef; |
use ty::FieldDef; |
use ty::Ty; |
use ty::TyS; |
use ty::DefId; |
use ty::Substs; |
use ty::AdtKind; |
use ty::Visibility; |
use ty::TypeVariants::*; |
Modules
def_id_forest |
[ Experimental ]
|
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. |