Fix error message after rebase
This commit is contained in:
parent
46ef9f820c
commit
1cdf5df451
2 changed files with 4 additions and 4 deletions
|
@ -21,11 +21,11 @@ fn uninhab_union() -> Foo {
|
|||
|
||||
fn match_on_uninhab() {
|
||||
match uninhab_ref() {
|
||||
//~^ ERROR non-exhaustive patterns: type &'static ! is non-empty
|
||||
//~^ ERROR non-exhaustive patterns: type `&'static !` is non-empty
|
||||
}
|
||||
|
||||
match uninhab_union() {
|
||||
//~^ ERROR non-exhaustive patterns: type Foo is non-empty
|
||||
//~^ ERROR non-exhaustive patterns: type `Foo` is non-empty
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
error[E0004]: non-exhaustive patterns: type &'static ! is non-empty
|
||||
error[E0004]: non-exhaustive patterns: type `&'static !` is non-empty
|
||||
--> $DIR/always-inhabited-union-ref.rs:23:11
|
||||
|
|
||||
LL | match uninhab_ref() {
|
||||
|
@ -10,7 +10,7 @@ help: ensure that all possible cases are being handled, possibly by adding wildc
|
|||
LL | match uninhab_ref() {
|
||||
| ^^^^^^^^^^^^^
|
||||
|
||||
error[E0004]: non-exhaustive patterns: type Foo is non-empty
|
||||
error[E0004]: non-exhaustive patterns: type `Foo` is non-empty
|
||||
--> $DIR/always-inhabited-union-ref.rs:27:11
|
||||
|
|
||||
LL | match uninhab_union() {
|
||||
|
|
Loading…
Add table
Reference in a new issue