Skip to content

Commit d44774d

Browse files
committed
Forgot to update some test outputs
1 parent fe5d84d commit d44774d

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

src/test/ui/error-codes/E0004-2.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
error[E0004]: non-exhaustive patterns: multiple patterns of type `std::option::Option<i32>` are not handled
1+
error[E0004]: non-exhaustive patterns: `None` and `Some(_)` not covered
22
--> $DIR/E0004-2.rs:4:11
33
|
44
LL | match x { }
5-
| ^
5+
| ^ patterns `None` and `Some(_)` not covered
66
|
77
= help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
88

src/test/ui/issues/issue-3601.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
error[E0004]: non-exhaustive patterns: `_` not covered
1+
error[E0004]: non-exhaustive patterns: `Box(_)` not covered
22
--> $DIR/issue-3601.rs:30:44
33
|
44
LL | box NodeKind::Element(ed) => match ed.kind {
5-
| ^^^^^^^ pattern `_` not covered
5+
| ^^^^^^^ pattern `Box(_)` not covered
66
|
77
= help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
88

src/test/ui/uninhabited/uninhabited-matches-feature-gated.stderr

+3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ LL | let _ = match x {
99
error[E0004]: non-exhaustive patterns: type `&Void` is non-empty
1010
--> $DIR/uninhabited-matches-feature-gated.rs:12:19
1111
|
12+
LL | enum Void {}
13+
| ------------ `Void` defined here
14+
...
1215
LL | let _ = match x {};
1316
| ^
1417
|

0 commit comments

Comments
 (0)