mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 21:23:56 +00:00
Do not offer any of the suggestions in emit_coerce_suggestions for expr from destructuring assignment desugaring
This commit is contained in:
parent
533a819115
commit
23d7a07e86
1 changed files with 0 additions and 5 deletions
|
@ -12,11 +12,6 @@ LL | for reference in vec![1, 2, 3] {
|
|||
...
|
||||
LL | Some(reference) = cache.data.get(key) {
|
||||
| ^^^^^^^^^ 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