Constant rustc::hir::def_id::LOCAL_CRATE [] [src]

pub const LOCAL_CRATE: CrateNum = CrateNum(0)
🔬 This is a nightly-only experimental API. (rustc_private)

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