We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5e39b9 commit 7a7d683Copy full SHA for 7a7d683
1 file changed
tests/ui/closures/malformed-pattern-issue-140011.stderr
@@ -1,4 +1,4 @@
1
-error[E0412]: cannot find type `D` in this scope
+error[E0425]: cannot find type `D` in this scope
2
--> $DIR/malformed-pattern-issue-140011.rs:3:7
3
|
4
LL | C(D),
@@ -25,12 +25,12 @@ LL | enum B {
25
26
| - not covered
27
= 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
+help: you might want to use `let...else` to handle the variant that isn't matched
29
30
LL | let B::E(a) = h else { todo!() };
31
| ++++++++++++++++
32
33
error: aborting due to 2 previous errors
34
35
-Some errors have detailed explanations: E0005, E0412.
+Some errors have detailed explanations: E0005, E0425.
36
For more information about an error, try `rustc --explain E0005`.
0 commit comments