We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d71e9c4 commit 2221fc8Copy full SHA for 2221fc8
clippy_lints/src/redundant_clone.rs
@@ -293,7 +293,7 @@ fn base_local_and_movability<'tcx>(
293
let PlaceRef {
294
base: place_base,
295
mut projection,
296
- } = place.as_place_ref();
+ } = place.as_ref();
297
if let PlaceBase::Local(local) = place_base {
298
while let Some(box Projection { base, elem }) = projection {
299
projection = base;
0 commit comments