Module rustc::hir::def[][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::def_id::DefId;
use util::nodemap::NodeMap;
use util::nodemap::DefIdMap;
use syntax::ast;
use syntax::ext::base::MacroKind;
use syntax_pos::Span;
use hir;
use ty;

Structs

Export [
Experimental
]
PathResolution [
Experimental
]

The result of resolving a path before lowering to HIR. base_def is definition of resolved part of the path, unresolved_segments is the number of unresolved segments.

Enums

CtorKind [
Experimental
]
Def [
Experimental
]

Type Definitions

DefMap [
Experimental
]

Definition mapping

ExportMap [
Experimental
]

This is the replacement export map. It maps a module to all of the exports within.