mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-11 15:37:15 +00:00
This commit is contained in:
parent
d71e9c4f10
commit
2221fc8124
1 changed files with 1 additions and 1 deletions
|
@ -293,7 +293,7 @@ fn base_local_and_movability<'tcx>(
|
|||
let PlaceRef {
|
||||
base: place_base,
|
||||
mut projection,
|
||||
} = place.as_place_ref();
|
||||
} = place.as_ref();
|
||||
if let PlaceBase::Local(local) = place_base {
|
||||
while let Some(box Projection { base, elem }) = projection {
|
||||
projection = base;
|
||||
|
|
Loading…
Reference in a new issue