2018-11-20 15:48:13 -06:00
|
|
|
error[E0004]: non-exhaustive patterns: type `()` is non-empty
|
2018-07-15 16:11:54 -05:00
|
|
|
--> $DIR/issue-3096-1.rs:12:11
|
|
|
|
|
|
|
|
|
LL | match () { } //~ ERROR non-exhaustive
|
|
|
|
| ^^
|
|
|
|
|
|
2018-11-03 16:09:53 -05:00
|
|
|
help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
|
2018-07-15 16:11:54 -05:00
|
|
|
--> $DIR/issue-3096-1.rs:12:11
|
|
|
|
|
|
|
|
|
LL | match () { } //~ ERROR non-exhaustive
|
|
|
|
| ^^
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0004`.
|