X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=compiler%2Frustc_passes%2Fsrc%2Fdead.rs;h=da023fcf4c3b5c23405cacb7bca785998dd95c94;hb=78cf0b916a335a534a5fd4e44405b4ffffb3514c;hp=5d0224c35f3645a8716d2820e8d8a4f0f49914e9;hpb=844e3fb92827eed09ebee58e0e93f5317806b9fa;p=rust.git diff --git a/compiler/rustc_passes/src/dead.rs b/compiler/rustc_passes/src/dead.rs index 5d0224c35f3..da023fcf4c3 100644 --- a/compiler/rustc_passes/src/dead.rs +++ b/compiler/rustc_passes/src/dead.rs @@ -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); }