diff options
| author | Eric Holk <ericholk@microsoft.com> | 2022-05-10 14:20:34 -0700 |
|---|---|---|
| committer | Eric Holk <ericholk@microsoft.com> | 2022-05-10 14:20:34 -0700 |
| commit | 5ad1b352063eda45f6fda7f3c2fd594e1b91aa41 (patch) | |
| tree | 74dc4db4062c2fd6b8f671c762b19a3f84253bb3 /clippy_utils/src | |
| parent | 670bc53c0350b461b0d9bdb9451261c0d805ecef (diff) | |
Update clippy to new rake_read signature
Diffstat (limited to 'clippy_utils/src')
| -rw-r--r-- | clippy_utils/src/sugg.rs | 2 | ||||
| -rw-r--r-- | clippy_utils/src/usage.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/clippy_utils/src/sugg.rs b/clippy_utils/src/sugg.rs index 18915553e61..db5299c2c05 100644 --- a/clippy_utils/src/sugg.rs +++ b/clippy_utils/src/sugg.rs @@ -1033,7 +1033,7 @@ impl<'tcx> Delegate<'tcx> for DerefDelegate<'_, 'tcx> { fn mutate(&mut self, _: &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) {} } #[cfg(test)] diff --git a/clippy_utils/src/usage.rs b/clippy_utils/src/usage.rs index 4236e3aae2f..b7b9d54d0b2 100644 --- a/clippy_utils/src/usage.rs +++ b/clippy_utils/src/usage.rs @@ -74,7 +74,7 @@ impl<'tcx> Delegate<'tcx> for MutVarsDelegate { self.update(cmt); } - 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) {} } pub struct ParamBindingIdCollector { |
