mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
35 lines
1.1 KiB
Plaintext
35 lines
1.1 KiB
Plaintext
warning: unknown lint: `test_unstable_lint`
|
|
--> $DIR/warn-unknown-unstable-lint-inline.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: the lint level is defined here
|
|
--> $DIR/warn-unknown-unstable-lint-inline.rs:3:9
|
|
|
|
|
LL | #![warn(unknown_lints)]
|
|
| ^^^^^^^^^^^^^
|
|
|
|
warning: unknown lint: `test_unstable_lint`
|
|
--> $DIR/warn-unknown-unstable-lint-inline.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
|
|
|
|
warning: unknown lint: `test_unstable_lint`
|
|
--> $DIR/warn-unknown-unstable-lint-inline.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
|
|
|
|
warning: 3 warnings emitted
|
|
|