summaryrefslogtreecommitdiffstats
path: root/tests/ui/pattern/usefulness/non-exhaustive-match-nested.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/pattern/usefulness/non-exhaustive-match-nested.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/pattern/usefulness/non-exhaustive-match-nested.stderr b/tests/ui/pattern/usefulness/non-exhaustive-match-nested.stderr
index 98e417a17..310049fe1 100644
--- a/tests/ui/pattern/usefulness/non-exhaustive-match-nested.stderr
+++ b/tests/ui/pattern/usefulness/non-exhaustive-match-nested.stderr
@@ -18,10 +18,10 @@ LL | match x {
| ^ pattern `T::A(U::C)` not covered
|
note: `T` defined here
- --> $DIR/non-exhaustive-match-nested.rs:1:10
+ --> $DIR/non-exhaustive-match-nested.rs:1:6
|
LL | enum T { A(U), B }
- | - ^ not covered
+ | ^ - not covered
= note: the matched value is of type `T`
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
|