From 55bbe0531a2d2f58daec7feb525b3eaa13063b45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maja=20K=C4=85dzio=C5=82ka?= Date: Fri, 12 Dec 2025 20:23:34 +0100 Subject: [PATCH] Re-bless tests --- tests/ui/closures/malformed-pattern-issue-140011.stderr | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/ui/closures/malformed-pattern-issue-140011.stderr b/tests/ui/closures/malformed-pattern-issue-140011.stderr index 08122b8a7d2e..43beb7c58632 100644 --- a/tests/ui/closures/malformed-pattern-issue-140011.stderr +++ b/tests/ui/closures/malformed-pattern-issue-140011.stderr @@ -1,4 +1,4 @@ -error[E0412]: cannot find type `D` in this scope +error[E0425]: cannot find type `D` in this scope --> $DIR/malformed-pattern-issue-140011.rs:3:7 | LL | C(D), @@ -25,12 +25,12 @@ LL | enum B { LL | C(D), | - not covered = note: the matched value is of type `B` -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 | LL | let B::E(a) = h else { todo!() }; | ++++++++++++++++ error: aborting due to 2 previous errors -Some errors have detailed explanations: E0005, E0412. +Some errors have detailed explanations: E0005, E0425. For more information about an error, try `rustc --explain E0005`.