1
Fork 0

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:
Matthias Krüger 2025-03-07 19:15:36 +01:00 committed by GitHub
commit b772fa6165
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 13 additions and 35 deletions

View file

@ -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);
}
}