rustc_hir::def_id

Constant LOCAL_CRATE

source
pub const LOCAL_CRATE: CrateNum;
Expand description

Item definitions in the currently-compiled crate would have the CrateNum LOCAL_CRATE in their DefId.