1 warning: unknown lint: `test_unstable_lint`
2 --> $DIR/feature-gate-test_unstable_lint.rs:4:1
4 LL | #![allow(test_unstable_lint)]
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 = note: the `test_unstable_lint` lint is unstable
8 = help: add `#![feature(test_unstable_lint)]` to the crate attributes to enable
9 = note: `#[warn(unknown_lints)]` on by default
11 warning: unknown lint: `test_unstable_lint`
12 --> $DIR/feature-gate-test_unstable_lint.rs:4:1
14 LL | #![allow(test_unstable_lint)]
15 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
17 = note: the `test_unstable_lint` lint is unstable
18 = help: add `#![feature(test_unstable_lint)]` to the crate attributes to enable
20 warning: unknown lint: `test_unstable_lint`
21 --> $DIR/feature-gate-test_unstable_lint.rs:4:1
23 LL | #![allow(test_unstable_lint)]
24 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
26 = note: the `test_unstable_lint` lint is unstable
27 = help: add `#![feature(test_unstable_lint)]` to the crate attributes to enable
29 warning: 3 warnings emitted