mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 07:00:55 +00:00
Auto merge of #86754 - estebank:use-multispans-more, r=varkor
Use `multipart_suggestions` more Built on top of #86532
This commit is contained in:
commit
c9e45e47d5
1 changed files with 6 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue