Forgot to update some test outputs
This commit is contained in:
parent
fe5d84d2aa
commit
d44774d72c
3 changed files with 7 additions and 4 deletions
|
|
@ -1,8 +1,8 @@
|
|||
error[E0004]: non-exhaustive patterns: multiple patterns of type `std::option::Option<i32>` are not handled
|
||||
error[E0004]: non-exhaustive patterns: `None` and `Some(_)` not covered
|
||||
--> $DIR/E0004-2.rs:4:11
|
||||
|
|
||||
LL | match x { }
|
||||
| ^
|
||||
| ^ patterns `None` and `Some(_)` not covered
|
||||
|
|
||||
= help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
error[E0004]: non-exhaustive patterns: `_` not covered
|
||||
error[E0004]: non-exhaustive patterns: `Box(_)` not covered
|
||||
--> $DIR/issue-3601.rs:30:44
|
||||
|
|
||||
LL | box NodeKind::Element(ed) => match ed.kind {
|
||||
| ^^^^^^^ pattern `_` not covered
|
||||
| ^^^^^^^ pattern `Box(_)` not covered
|
||||
|
|
||||
= help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
|
||||
|
||||
|
|
|
|||
|
|
@ -9,6 +9,9 @@ LL | let _ = match x {
|
|||
error[E0004]: non-exhaustive patterns: type `&Void` is non-empty
|
||||
--> $DIR/uninhabited-matches-feature-gated.rs:12:19
|
||||
|
|
||||
LL | enum Void {}
|
||||
| ------------ `Void` defined here
|
||||
...
|
||||
LL | let _ = match x {};
|
||||
| ^
|
||||
|
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue