Merge the BTreeMap in hir::Crate.
This commit is contained in:
parent
0443424954
commit
36a28060f1
14 changed files with 268 additions and 119 deletions
|
@ -108,7 +108,7 @@ fn diagnostic_items<'tcx>(tcx: TyCtxt<'tcx>, cnum: CrateNum) -> FxHashMap<Symbol
|
|||
// Collect diagnostic items in this crate.
|
||||
tcx.hir().krate().visit_all_item_likes(&mut collector);
|
||||
|
||||
for m in tcx.hir().krate().exported_macros {
|
||||
for m in tcx.hir().krate().exported_macros() {
|
||||
collector.observe_item(m.def_id);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue