| error[E0004]: non-exhaustive patterns: type `uninhabited::UninhabitedEnum` is non-empty |
| --> $DIR/match.rs:18:11 |
| | |
| LL | match x {} |
| | ^ |
| | |
| = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms |
| |
| error[E0004]: non-exhaustive patterns: pattern `UninhabitedStruct` of type `uninhabited::UninhabitedStruct` is not handled |
| --> $DIR/match.rs:22:11 |
| | |
| LL | match x {} |
| | ^ |
| | |
| = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms |
| |
| error[E0004]: non-exhaustive patterns: pattern `UninhabitedTupleStruct` of type `uninhabited::UninhabitedTupleStruct` is not handled |
| --> $DIR/match.rs:26:11 |
| | |
| LL | match x {} |
| | ^ |
| | |
| = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms |
| |
| error[E0004]: non-exhaustive patterns: multiple patterns of type `uninhabited::UninhabitedVariants` are not handled |
| --> $DIR/match.rs:30:11 |
| | |
| LL | match x {} |
| | ^ |
| | |
| = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms |
| |
| error: aborting due to 4 previous errors |
| |
| For more information about this error, try `rustc --explain E0004`. |