1 #![deny(non_exhaustive_omitted_patterns)]
2 //~^ ERROR the `non_exhaustive_omitted_patterns` lint is unstable
3 //~| ERROR the `non_exhaustive_omitted_patterns` lint is unstable
4 #![allow(non_exhaustive_omitted_patterns)]
5 //~^ ERROR the `non_exhaustive_omitted_patterns` lint is unstable
6 //~| ERROR the `non_exhaustive_omitted_patterns` lint is unstable
13 #[allow(non_exhaustive_omitted_patterns)]
18 //~^^^^^ ERROR the `non_exhaustive_omitted_patterns` lint is unstable
19 //~| ERROR the `non_exhaustive_omitted_patterns` lint is unstable
20 //~| ERROR the `non_exhaustive_omitted_patterns` lint is unstable
21 //~| ERROR the `non_exhaustive_omitted_patterns` lint is unstable
26 #[warn(non_exhaustive_omitted_patterns)]
29 //~^^^ ERROR the `non_exhaustive_omitted_patterns` lint is unstable
30 //~| ERROR the `non_exhaustive_omitted_patterns` lint is unstable