mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-11 15:37:15 +00:00
Auto merge of #4297 - matthiaskrgr:rustup_12, r=matthiaskrgr
rustup changelog: none
This commit is contained in:
commit
f8e04ff397
2 changed files with 2 additions and 2 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;
|
||||
|
|
|
@ -2,7 +2,7 @@ error: expected token: `,`
|
|||
--> $DIR/issue-3145.rs:2:19
|
||||
|
|
||||
LL | println!("{}" a); //~ERROR expected token: `,`
|
||||
| ^
|
||||
| ^ expected `,`
|
||||
|
||||
error: aborting due to previous error
|
||||
|
||||
|
|
Loading…
Reference in a new issue