]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-test_unstable_lint.stderr
parser will not give wrong help message for 'public'
[rust.git] / src / test / ui / feature-gates / feature-gate-test_unstable_lint.stderr
1 warning: unknown lint: `test_unstable_lint`
2   --> $DIR/feature-gate-test_unstable_lint.rs:4:1
3    |
4 LL | #![allow(test_unstable_lint)]
5    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6    |
7    = note: `#[warn(unknown_lints)]` on by default
8    = note: the `test_unstable_lint` lint is unstable
9    = help: add `#![feature(test_unstable_lint)]` to the crate attributes to enable
10
11 warning: unknown lint: `test_unstable_lint`
12   --> $DIR/feature-gate-test_unstable_lint.rs:4:1
13    |
14 LL | #![allow(test_unstable_lint)]
15    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
16    |
17    = note: the `test_unstable_lint` lint is unstable
18    = help: add `#![feature(test_unstable_lint)]` to the crate attributes to enable
19
20 warning: unknown lint: `test_unstable_lint`
21   --> $DIR/feature-gate-test_unstable_lint.rs:4:1
22    |
23 LL | #![allow(test_unstable_lint)]
24    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
25    |
26    = note: the `test_unstable_lint` lint is unstable
27    = help: add `#![feature(test_unstable_lint)]` to the crate attributes to enable
28
29 warning: 3 warnings emitted
30