@@ -10,7 +10,7 @@ LL | #![deny(non_exhaustive_omitted_patterns)]
1010 = help: add `#![feature(non_exhaustive_omitted_patterns_lint)]` to the crate attributes to enable
1111
1212warning: unknown lint: `non_exhaustive_omitted_patterns`
13- --> $DIR/feature-gate-non_exhaustive_omitted_patterns_lint.rs:6 :1
13+ --> $DIR/feature-gate-non_exhaustive_omitted_patterns_lint.rs:7 :1
1414 |
1515LL | #![allow(non_exhaustive_omitted_patterns)]
1616 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -20,7 +20,7 @@ LL | #![allow(non_exhaustive_omitted_patterns)]
2020 = help: add `#![feature(non_exhaustive_omitted_patterns_lint)]` to the crate attributes to enable
2121
2222warning: unknown lint: `non_exhaustive_omitted_patterns`
23- --> $DIR/feature-gate-non_exhaustive_omitted_patterns_lint.rs:15 :5
23+ --> $DIR/feature-gate-non_exhaustive_omitted_patterns_lint.rs:17 :5
2424 |
2525LL | #[allow(non_exhaustive_omitted_patterns)]
2626 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -30,7 +30,7 @@ LL | #[allow(non_exhaustive_omitted_patterns)]
3030 = help: add `#![feature(non_exhaustive_omitted_patterns_lint)]` to the crate attributes to enable
3131
3232warning: unknown lint: `non_exhaustive_omitted_patterns`
33- --> $DIR/feature-gate-non_exhaustive_omitted_patterns_lint.rs:15 :5
33+ --> $DIR/feature-gate-non_exhaustive_omitted_patterns_lint.rs:17 :5
3434 |
3535LL | #[allow(non_exhaustive_omitted_patterns)]
3636 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -40,7 +40,7 @@ LL | #[allow(non_exhaustive_omitted_patterns)]
4040 = help: add `#![feature(non_exhaustive_omitted_patterns_lint)]` to the crate attributes to enable
4141
4242warning: unknown lint: `non_exhaustive_omitted_patterns`
43- --> $DIR/feature-gate-non_exhaustive_omitted_patterns_lint.rs:29 :9
43+ --> $DIR/feature-gate-non_exhaustive_omitted_patterns_lint.rs:33 :9
4444 |
4545LL | #[warn(non_exhaustive_omitted_patterns)]
4646 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -60,7 +60,7 @@ LL | #![deny(non_exhaustive_omitted_patterns)]
6060 = help: add `#![feature(non_exhaustive_omitted_patterns_lint)]` to the crate attributes to enable
6161
6262warning: unknown lint: `non_exhaustive_omitted_patterns`
63- --> $DIR/feature-gate-non_exhaustive_omitted_patterns_lint.rs:6 :1
63+ --> $DIR/feature-gate-non_exhaustive_omitted_patterns_lint.rs:7 :1
6464 |
6565LL | #![allow(non_exhaustive_omitted_patterns)]
6666 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -70,7 +70,7 @@ LL | #![allow(non_exhaustive_omitted_patterns)]
7070 = help: add `#![feature(non_exhaustive_omitted_patterns_lint)]` to the crate attributes to enable
7171
7272warning: unknown lint: `non_exhaustive_omitted_patterns`
73- --> $DIR/feature-gate-non_exhaustive_omitted_patterns_lint.rs:15 :5
73+ --> $DIR/feature-gate-non_exhaustive_omitted_patterns_lint.rs:17 :5
7474 |
7575LL | #[allow(non_exhaustive_omitted_patterns)]
7676 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -80,7 +80,7 @@ LL | #[allow(non_exhaustive_omitted_patterns)]
8080 = help: add `#![feature(non_exhaustive_omitted_patterns_lint)]` to the crate attributes to enable
8181
8282warning: unknown lint: `non_exhaustive_omitted_patterns`
83- --> $DIR/feature-gate-non_exhaustive_omitted_patterns_lint.rs:15 :5
83+ --> $DIR/feature-gate-non_exhaustive_omitted_patterns_lint.rs:17 :5
8484 |
8585LL | #[allow(non_exhaustive_omitted_patterns)]
8686 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -90,7 +90,7 @@ LL | #[allow(non_exhaustive_omitted_patterns)]
9090 = help: add `#![feature(non_exhaustive_omitted_patterns_lint)]` to the crate attributes to enable
9191
9292warning: unknown lint: `non_exhaustive_omitted_patterns`
93- --> $DIR/feature-gate-non_exhaustive_omitted_patterns_lint.rs:29 :9
93+ --> $DIR/feature-gate-non_exhaustive_omitted_patterns_lint.rs:33 :9
9494 |
9595LL | #[warn(non_exhaustive_omitted_patterns)]
9696 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -100,13 +100,13 @@ LL | #[warn(non_exhaustive_omitted_patterns)]
100100 = help: add `#![feature(non_exhaustive_omitted_patterns_lint)]` to the crate attributes to enable
101101
102102error[E0004]: non-exhaustive patterns: `Foo::C` not covered
103- --> $DIR/feature-gate-non_exhaustive_omitted_patterns_lint.rs:20 :11
103+ --> $DIR/feature-gate-non_exhaustive_omitted_patterns_lint.rs:24 :11
104104 |
105105LL | match Foo::A {
106106 | ^^^^^^ pattern `Foo::C` not covered
107107 |
108108note: `Foo` defined here
109- --> $DIR/feature-gate-non_exhaustive_omitted_patterns_lint.rs:12 :15
109+ --> $DIR/feature-gate-non_exhaustive_omitted_patterns_lint.rs:14 :15
110110 |
111111LL | enum Foo {
112112 | ---
@@ -119,6 +119,56 @@ LL ~ Foo::B => {}
119119LL + Foo::C => todo!()
120120 |
121121
122- error: aborting due to previous error; 10 warnings emitted
122+ warning: unknown lint: `non_exhaustive_omitted_patterns`
123+ --> $DIR/feature-gate-non_exhaustive_omitted_patterns_lint.rs:3:1
124+ |
125+ LL | #![deny(non_exhaustive_omitted_patterns)]
126+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
127+ |
128+ = note: the `non_exhaustive_omitted_patterns` lint is unstable
129+ = note: see issue #89554 <https://github.com/rust-lang/rust/issues/89554> for more information
130+ = help: add `#![feature(non_exhaustive_omitted_patterns_lint)]` to the crate attributes to enable
131+
132+ warning: unknown lint: `non_exhaustive_omitted_patterns`
133+ --> $DIR/feature-gate-non_exhaustive_omitted_patterns_lint.rs:7:1
134+ |
135+ LL | #![allow(non_exhaustive_omitted_patterns)]
136+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
137+ |
138+ = note: the `non_exhaustive_omitted_patterns` lint is unstable
139+ = note: see issue #89554 <https://github.com/rust-lang/rust/issues/89554> for more information
140+ = help: add `#![feature(non_exhaustive_omitted_patterns_lint)]` to the crate attributes to enable
141+
142+ warning: unknown lint: `non_exhaustive_omitted_patterns`
143+ --> $DIR/feature-gate-non_exhaustive_omitted_patterns_lint.rs:17:5
144+ |
145+ LL | #[allow(non_exhaustive_omitted_patterns)]
146+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
147+ |
148+ = note: the `non_exhaustive_omitted_patterns` lint is unstable
149+ = note: see issue #89554 <https://github.com/rust-lang/rust/issues/89554> for more information
150+ = help: add `#![feature(non_exhaustive_omitted_patterns_lint)]` to the crate attributes to enable
151+
152+ warning: unknown lint: `non_exhaustive_omitted_patterns`
153+ --> $DIR/feature-gate-non_exhaustive_omitted_patterns_lint.rs:17:5
154+ |
155+ LL | #[allow(non_exhaustive_omitted_patterns)]
156+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
157+ |
158+ = note: the `non_exhaustive_omitted_patterns` lint is unstable
159+ = note: see issue #89554 <https://github.com/rust-lang/rust/issues/89554> for more information
160+ = help: add `#![feature(non_exhaustive_omitted_patterns_lint)]` to the crate attributes to enable
161+
162+ warning: unknown lint: `non_exhaustive_omitted_patterns`
163+ --> $DIR/feature-gate-non_exhaustive_omitted_patterns_lint.rs:33:9
164+ |
165+ LL | #[warn(non_exhaustive_omitted_patterns)]
166+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
167+ |
168+ = note: the `non_exhaustive_omitted_patterns` lint is unstable
169+ = note: see issue #89554 <https://github.com/rust-lang/rust/issues/89554> for more information
170+ = help: add `#![feature(non_exhaustive_omitted_patterns_lint)]` to the crate attributes to enable
171+
172+ error: aborting due to previous error; 15 warnings emitted
123173
124174For more information about this error, try `rustc --explain E0004`.
0 commit comments