]> git.proxmox.com Git - rustc.git/blame - src/test/ui/unknown-unstable-lints/warn-unknown-unstable-lint-inline.stderr
New upstream version 1.66.0+dfsg1
[rustc.git] / src / test / ui / unknown-unstable-lints / warn-unknown-unstable-lint-inline.stderr
CommitLineData
5e7ed085
FG
1warning: unknown lint: `test_unstable_lint`
2 --> $DIR/warn-unknown-unstable-lint-inline.rs:4:1
3 |
4LL | #![allow(test_unstable_lint)]
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6 |
2b03887a
FG
7 = note: the `test_unstable_lint` lint is unstable
8 = help: add `#![feature(test_unstable_lint)]` to the crate attributes to enable
5e7ed085
FG
9note: the lint level is defined here
10 --> $DIR/warn-unknown-unstable-lint-inline.rs:3:9
11 |
12LL | #![warn(unknown_lints)]
13 | ^^^^^^^^^^^^^
5e7ed085
FG
14
15warning: unknown lint: `test_unstable_lint`
16 --> $DIR/warn-unknown-unstable-lint-inline.rs:4:1
17 |
18LL | #![allow(test_unstable_lint)]
19 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
20 |
21 = note: the `test_unstable_lint` lint is unstable
22 = help: add `#![feature(test_unstable_lint)]` to the crate attributes to enable
23
24warning: unknown lint: `test_unstable_lint`
25 --> $DIR/warn-unknown-unstable-lint-inline.rs:4:1
26 |
27LL | #![allow(test_unstable_lint)]
28 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
29 |
30 = note: the `test_unstable_lint` lint is unstable
31 = help: add `#![feature(test_unstable_lint)]` to the crate attributes to enable
32
33warning: 3 warnings emitted
34