mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
33 lines
1.1 KiB
Plaintext
33 lines
1.1 KiB
Plaintext
warning: unknown lint: `test_unstable_lint`
|
|
--> $DIR/feature-gate-test_unstable_lint.rs:4:1
|
|
|
|
|
LL | #![allow(test_unstable_lint)]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: the `test_unstable_lint` lint is unstable
|
|
= help: add `#![feature(test_unstable_lint)]` to the crate attributes to enable
|
|
= note: `#[warn(unknown_lints)]` on by default
|
|
|
|
warning: unknown lint: `test_unstable_lint`
|
|
--> $DIR/feature-gate-test_unstable_lint.rs:4:1
|
|
|
|
|
LL | #![allow(test_unstable_lint)]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: the `test_unstable_lint` lint is unstable
|
|
= help: add `#![feature(test_unstable_lint)]` to the crate attributes to enable
|
|
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
|
|
|
|
warning: unknown lint: `test_unstable_lint`
|
|
--> $DIR/feature-gate-test_unstable_lint.rs:4:1
|
|
|
|
|
LL | #![allow(test_unstable_lint)]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: the `test_unstable_lint` lint is unstable
|
|
= help: add `#![feature(test_unstable_lint)]` to the crate attributes to enable
|
|
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
|
|
|
|
warning: 3 warnings emitted
|
|
|