rustc::hir::def_id::CRATE_DEF_INDEX
[−]
[src]
pub const CRATE_DEF_INDEX: DefIndex=
DefIndex(0)
Unstable (
rustc_private
)The crate root is always assigned index 0 by the AST Map code,
thanks to NodeCollector::new
.