Skip to content

Commit f1a26e2

Browse files
committed
Auto merge of #112476 - chenyukang:yukang-fix-109991, r=compiler-errors
Do not emit coerce_suggestions for expr from destructuring assignment desugaring Fixes #109991
2 parents 9935368 + 50469f4 commit f1a26e2

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

tests/ui/crashes/ice-6250.stderr

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@ LL | for reference in vec![1, 2, 3] {
1212
...
1313
LL | Some(reference) = cache.data.get(key) {
1414
| ^^^^^^^^^ expected integer, found `&i32`
15-
|
16-
help: consider dereferencing the borrow
17-
|
18-
LL | Some(*reference) = cache.data.get(key) {
19-
| +
2015

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

0 commit comments

Comments
 (0)