Rollup merge of #138150 - nnethercote:streamline-intravisit-visit_id, r=oli-obk
Streamline HIR intravisit `visit_id` calls for items A small clean up.
This commit is contained in:
commit
b772fa6165
5 changed files with 13 additions and 35 deletions
|
@ -74,7 +74,7 @@ impl<'tcx, T: LateLintPass<'tcx>> LateContextAndPass<'tcx, T> {
|
|||
|
||||
fn process_mod(&mut self, m: &'tcx hir::Mod<'tcx>, n: HirId) {
|
||||
lint_callback!(self, check_mod, m, n);
|
||||
hir_visit::walk_mod(self, m, n);
|
||||
hir_visit::walk_mod(self, m);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue