summaryrefslogtreecommitdiffstats
path: root/tests/ui/pattern/usefulness/issue-56379.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/pattern/usefulness/issue-56379.stderr10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/ui/pattern/usefulness/issue-56379.stderr b/tests/ui/pattern/usefulness/issue-56379.stderr
index b3e40b992..50e13bdfd 100644
--- a/tests/ui/pattern/usefulness/issue-56379.stderr
+++ b/tests/ui/pattern/usefulness/issue-56379.stderr
@@ -5,16 +5,16 @@ LL | match Foo::A(true) {
| ^^^^^^^^^^^^ patterns `Foo::A(false)`, `Foo::B(false)` and `Foo::C(false)` not covered
|
note: `Foo` defined here
- --> $DIR/issue-56379.rs:2:5
+ --> $DIR/issue-56379.rs:1:6
|
LL | enum Foo {
- | ---
+ | ^^^
LL | A(bool),
- | ^ not covered
+ | - not covered
LL | B(bool),
- | ^ not covered
+ | - not covered
LL | C(bool),
- | ^ not covered
+ | - not covered
= note: the matched value is of type `Foo`
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern, a match arm with multiple or-patterns as shown, or multiple match arms
|