2018-08-08 07:28:26 -05:00
|
|
|
error[E0004]: non-exhaustive patterns: `Some(Private { misc: true, .. })` not covered
|
2020-03-31 20:10:13 -05:00
|
|
|
--> $DIR/match-privately-empty.rs:13:11
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | match private::DATA {
|
|
|
|
| ^^^^^^^^^^^^^ pattern `Some(Private { misc: true, .. })` not covered
|
2021-06-10 06:52:00 -05:00
|
|
|
|
|
2021-12-15 23:06:44 -06:00
|
|
|
note: `Option<Private>` defined here
|
|
|
|
--> $SRC_DIR/core/src/option.rs:LL:COL
|
2022-12-12 09:25:04 -06:00
|
|
|
::: $SRC_DIR/core/src/option.rs:LL:COL
|
|
|
|
|
|
|
|
|
= note: not covered
|
2020-09-02 02:40:56 -05:00
|
|
|
= note: the matched value is of type `Option<Private>`
|
2021-12-16 16:46:13 -06: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-15 20:28:09 -06:00
|
|
|
|
|
2023-02-27 11:43:39 -06:00
|
|
|
LL ~ }) => {},
|
2021-12-15 20:28:09 -06:00
|
|
|
LL + Some(Private { misc: true, .. }) => todo!()
|
|
|
|
|
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0004`.
|