]> git.lizzy.rs Git - rust.git/blobdiff - clippy_lints/src/utils/internal_lints.rs
rustup https://github.com/rust-lang/rust/pull/68944
[rust.git] / clippy_lints / src / utils / internal_lints.rs
index c348f5794b9c43acaa106ec639f8d79d60e79a2a..7dbb0d5a9ab820238d15295f193d68c09c04e734 100644 (file)
@@ -299,8 +299,8 @@ fn visit_path(&mut self, path: &'tcx Path<'_>, _: HirId) {
             self.output.insert(path.segments[0].ident.name);
         }
     }
-    fn nested_visit_map(&mut self) -> NestedVisitorMap<'_, Self::Map> {
-        NestedVisitorMap::All(&self.cx.tcx.hir())
+    fn nested_visit_map(&mut self) -> NestedVisitorMap<Self::Map> {
+        NestedVisitorMap::All(self.cx.tcx.hir())
     }
 }