]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc-2008-non-exhaustive/stable-omitted-patterns.stderr
Rollup merge of #94726 - lnicola:rust-analyzer-2022-03-08, r=lnicola
[rust.git] / src / test / ui / rfc-2008-non-exhaustive / stable-omitted-patterns.stderr
1 error: some variants are not matched explicitly
2   --> $DIR/stable-omitted-patterns.rs:23:9
3    |
4 LL |         _ => {}
5    |         ^ pattern `Stable2` not covered
6    |
7 note: the lint level is defined here
8   --> $DIR/stable-omitted-patterns.rs:22:16
9    |
10 LL |         #[deny(non_exhaustive_omitted_patterns)]
11    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12    = help: ensure that all variants are matched explicitly by adding the suggested match arms
13    = note: the matched value is of type `UnstableEnum` and the `non_exhaustive_omitted_patterns` attribute was found
14
15 error: aborting due to previous error
16