Reword comments and rename HIR visiting methods.
This commit is contained in:
parent
c461f7a16e
commit
111df9e6ed
18 changed files with 113 additions and 105 deletions
|
@ -173,7 +173,7 @@ fn mir_keys(tcx: TyCtxt<'_>, (): ()) -> FxIndexSet<LocalDefId> {
|
|||
intravisit::walk_struct_def(self, v)
|
||||
}
|
||||
}
|
||||
tcx.hir().deep_visit_all_item_likes(&mut GatherCtors { tcx, set: &mut set });
|
||||
tcx.hir().visit_all_item_likes_in_crate(&mut GatherCtors { tcx, set: &mut set });
|
||||
|
||||
set
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue