]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_passes/src/dead.rs
Rollup merge of #105180 - nbdd0121:async_track_caller, r=compiler-errors
[rust.git] / compiler / rustc_passes / src / dead.rs
index 5d0224c35f3645a8716d2820e8d8a4f0f49914e9..da023fcf4c3b5c23405cacb7bca785998dd95c94 100644 (file)
@@ -433,7 +433,7 @@ fn visit_pat(&mut self, pat: &'tcx hir::Pat<'tcx>) {
         self.in_pat = false;
     }
 
-    fn visit_path(&mut self, path: &'tcx hir::Path<'tcx>, _: hir::HirId) {
+    fn visit_path(&mut self, path: &hir::Path<'tcx>, _: hir::HirId) {
         self.handle_res(path.res);
         intravisit::walk_path(self, path);
     }