mirror of
https://github.com/rust-lang/rust-clippy
synced 2025-02-17 06:28:42 +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
|
--> $DIR/ice-6250.rs:12:14
|
||||||
|
|
|
|
||||||
LL | Some(reference) = cache.data.get(key) {
|
LL | Some(reference) = cache.data.get(key) {
|
||||||
| ^^^^^^^^^
|
| ^^^^^^^^^ expected integer, found `&i32`
|
||||||
| |
|
|
|
||||||
| expected integer, found `&i32`
|
help: consider dereferencing the borrow
|
||||||
| help: consider dereferencing the borrow: `*reference`
|
|
|
||||||
|
LL | Some(*reference) = cache.data.get(key) {
|
||||||
|
| ^
|
||||||
|
|
||||||
error[E0308]: mismatched types
|
error[E0308]: mismatched types
|
||||||
--> $DIR/ice-6250.rs:12:9
|
--> $DIR/ice-6250.rs:12:9
|
||||||
|
|
Loading…
Add table
Reference in a new issue