2018-08-08 14:28:26 +02:00
|
|
|
error[E0004]: non-exhaustive patterns: `Some(Private { misc: true, .. })` not covered
|
2020-04-01 04:10:13 +03:00
|
|
|
--> $DIR/match-privately-empty.rs:13:11
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
|
LL | match private::DATA {
|
|
|
|
| ^^^^^^^^^^^^^ pattern `Some(Private { misc: true, .. })` not covered
|
2021-06-10 13:52:00 +02:00
|
|
|
|
|
2021-12-16 05:06:44 +00:00
|
|
|
note: `Option<Private>` defined here
|
|
|
|
--> $SRC_DIR/core/src/option.rs:LL:COL
|
2022-12-12 15:25:04 +00:00
|
|
|
::: $SRC_DIR/core/src/option.rs:LL:COL
|
|
|
|
|
|
|
|
|
= note: not covered
|
2020-09-02 10:40:56 +03:00
|
|
|
= note: the matched value is of type `Option<Private>`
|
2021-12-16 22:46:13 +00:00
|
|
|
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
|
2021-12-16 02:28:09 +00:00
|
|
|
|
|
|
|
|
LL ~ }) => {}
|
|
|
|
LL + Some(Private { misc: true, .. }) => todo!()
|
|
|
|
|
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0004`.
|