]> git.lizzy.rs Git - rust.git/blob - src/test/ui/pattern/usefulness/match-privately-empty.stderr
Rollup merge of #80298 - PankajChaudhary5:PankajChaudhary, r=GuillaumeGomez
[rust.git] / src / test / ui / pattern / usefulness / match-privately-empty.stderr
1 error[E0004]: non-exhaustive patterns: `Some(Private { misc: true, .. })` not covered
2   --> $DIR/match-privately-empty.rs:13:11
3    |
4 LL |     match private::DATA {
5    |           ^^^^^^^^^^^^^ pattern `Some(Private { misc: true, .. })` not covered
6    | 
7   ::: $SRC_DIR/core/src/option.rs:LL:COL
8    |
9 LL |     Some(#[stable(feature = "rust1", since = "1.0.0")] T),
10    |     ---- not covered
11    |
12    = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
13    = note: the matched value is of type `Option<Private>`
14
15 error: aborting due to previous error
16
17 For more information about this error, try `rustc --explain E0004`.