summaryrefslogtreecommitdiffstats
path: root/tests/ui/pattern/usefulness/doc-hidden-non-exhaustive.stderr
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-07 05:48:48 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-07 05:48:48 +0000
commitef24de24a82fe681581cc130f342363c47c0969a (patch)
tree0d494f7e1a38b95c92426f58fe6eaa877303a86c /tests/ui/pattern/usefulness/doc-hidden-non-exhaustive.stderr
parentReleasing progress-linux version 1.74.1+dfsg1-1~progress7.99u1. (diff)
downloadrustc-ef24de24a82fe681581cc130f342363c47c0969a.tar.xz
rustc-ef24de24a82fe681581cc130f342363c47c0969a.zip
Merging upstream version 1.75.0+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/ui/pattern/usefulness/doc-hidden-non-exhaustive.stderr')
-rw-r--r--tests/ui/pattern/usefulness/doc-hidden-non-exhaustive.stderr18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/ui/pattern/usefulness/doc-hidden-non-exhaustive.stderr b/tests/ui/pattern/usefulness/doc-hidden-non-exhaustive.stderr
index ff29de03d..24f3eaa52 100644
--- a/tests/ui/pattern/usefulness/doc-hidden-non-exhaustive.stderr
+++ b/tests/ui/pattern/usefulness/doc-hidden-non-exhaustive.stderr
@@ -23,13 +23,13 @@ LL | match HiddenEnum::A {
| ^^^^^^^^^^^^^ pattern `HiddenEnum::B` not covered
|
note: `HiddenEnum` defined here
- --> $DIR/auxiliary/hidden.rs:3:5
+ --> $DIR/auxiliary/hidden.rs:1:1
|
LL | pub enum HiddenEnum {
- | -------------------
+ | ^^^^^^^^^^^^^^^^^^^
LL | A,
LL | B,
- | ^ not covered
+ | - not covered
= note: the matched value is of type `HiddenEnum`
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
|
@@ -44,13 +44,13 @@ LL | match HiddenEnum::A {
| ^^^^^^^^^^^^^ patterns `HiddenEnum::B` and `_` not covered
|
note: `HiddenEnum` defined here
- --> $DIR/auxiliary/hidden.rs:3:5
+ --> $DIR/auxiliary/hidden.rs:1:1
|
LL | pub enum HiddenEnum {
- | -------------------
+ | ^^^^^^^^^^^^^^^^^^^
LL | A,
LL | B,
- | ^ not covered
+ | - not covered
= note: the matched value is of type `HiddenEnum`
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
|
@@ -83,13 +83,13 @@ LL | match InCrate::A {
| ^^^^^^^^^^ pattern `InCrate::C` not covered
|
note: `InCrate` defined here
- --> $DIR/doc-hidden-non-exhaustive.rs:11:5
+ --> $DIR/doc-hidden-non-exhaustive.rs:7:6
|
LL | enum InCrate {
- | -------
+ | ^^^^^^^
...
LL | C,
- | ^ not covered
+ | - not covered
= note: the matched value is of type `InCrate`
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
|