Skip to content

Commit

Permalink
Auto merge of rust-lang#86754 - estebank:use-multispans-more, r=varkor
Browse files Browse the repository at this point in the history
Use `multipart_suggestions` more

Built on top of rust-lang#86532
  • Loading branch information
bors committed Jul 30, 2021
2 parents 0af50b4 + 9a6ae78 commit c9e45e4
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions tests/ui/crashes/ice-6250.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,12 @@ error[E0308]: mismatched types
--> $DIR/ice-6250.rs:12:14
|
LL | Some(reference) = cache.data.get(key) {
| ^^^^^^^^^
| |
| expected integer, found `&i32`
| help: consider dereferencing the borrow: `*reference`
| ^^^^^^^^^ expected integer, found `&i32`
|
help: consider dereferencing the borrow
|
LL | Some(*reference) = cache.data.get(key) {
| ^

error[E0308]: mismatched types
--> $DIR/ice-6250.rs:12:9
Expand Down

0 comments on commit c9e45e4

Please sign in to comment.