Auto merge of #4297 - matthiaskrgr:rustup_12, r=matthiaskrgr

rustup

changelog: none
This commit is contained in:
bors 2019-07-24 04:56:28 +00:00
commit f8e04ff397
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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