Use multispan suggestions more often
* Use more accurate span for `async move` suggestion * Use more accurate span for deref suggestion * Use `multipart_suggestion` more often
This commit is contained in:
parent
5331fea875
commit
9a6ae783d4
@ -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…
x
Reference in New Issue
Block a user