rustc_span::def_id

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