Constant rustc_span::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
.