]> git.lizzy.rs Git - rust.git/blobdiff - clippy_lints/src/escape.rs
Fix lint registration
[rust.git] / clippy_lints / src / escape.rs
index af591dd71aa1d37d383570065195df3d6b637821..807ecd2ddd16e0d2d9d8cdb6e838146c9cfe290f 100644 (file)
@@ -187,7 +187,7 @@ fn mutate(&mut self, cmt: &PlaceWithHirId<'tcx>, _: HirId) {
         }
     }
 
-    fn fake_read(&mut self, _: rustc_typeck::expr_use_visitor::Place<'tcx>, _: FakeReadCause, _: HirId) {}
+    fn fake_read(&mut self, _: &rustc_typeck::expr_use_visitor::PlaceWithHirId<'tcx>, _: FakeReadCause, _: HirId) {}
 }
 
 impl<'a, 'tcx> EscapeDelegate<'a, 'tcx> {