Constant rustc_hir::def_id::CRATE_DEF_INDEX
source · pub const CRATE_DEF_INDEX: DefIndex;
Expand description
The crate root is always assigned index 0 by the AST Map code,
thanks to NodeCollector::new
.
pub const CRATE_DEF_INDEX: DefIndex;
The crate root is always assigned index 0 by the AST Map code,
thanks to NodeCollector::new
.