File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1- error[E0412 ]: cannot find type `D` in this scope
1+ error[E0425 ]: cannot find type `D` in this scope
22 --> $DIR/malformed-pattern-issue-140011.rs:3:7
33 |
44LL | C(D),
@@ -25,12 +25,12 @@ LL | enum B {
2525LL | C(D),
2626 | - not covered
2727 = note: the matched value is of type `B`
28- help: you might want to use `let else` to handle the variant that isn't matched
28+ help: you might want to use `let... else` to handle the variant that isn't matched
2929 |
3030LL | let B::E(a) = h else { todo!() };
3131 | ++++++++++++++++
3232
3333error: aborting due to 2 previous errors
3434
35- Some errors have detailed explanations: E0005, E0412 .
35+ Some errors have detailed explanations: E0005, E0425 .
3636For more information about an error, try `rustc --explain E0005`.
You can’t perform that action at this time.
0 commit comments