Skip to content

Commit

Permalink
Auto merge of rust-lang#4297 - matthiaskrgr:rustup_12, r=matthiaskrgr
Browse files Browse the repository at this point in the history
rustup

changelog: none
  • Loading branch information
bors committed Jul 24, 2019
2 parents d71e9c4 + b0373a5 commit f8e04ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion clippy_lints/src/redundant_clone.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/issue-3145.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit f8e04ff

Please sign in to comment.