Auto merge of #4297 - matthiaskrgr:rustup_12, r=matthiaskrgr
rustup changelog: none
This commit is contained in:
commit
f8e04ff397
@ -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 New Issue
Block a user