Index Modules using their LocalDefId.
This commit is contained in:
parent
7878fa70d6
commit
ff14cac621
10 changed files with 27 additions and 38 deletions
|
@ -668,7 +668,7 @@ pub struct Crate<'hir> {
|
|||
|
||||
/// A list of modules written out in the order in which they
|
||||
/// appear in the crate. This includes the main crate module.
|
||||
pub modules: BTreeMap<HirId, ModuleItems>,
|
||||
pub modules: BTreeMap<LocalDefId, ModuleItems>,
|
||||
/// A list of proc macro HirIds, written out in the order in which
|
||||
/// they are declared in the static array generated by proc_macro_harness.
|
||||
pub proc_macros: Vec<HirId>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue