mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
35 lines
1.1 KiB
Plaintext
35 lines
1.1 KiB
Plaintext
error: unknown lint: `test_unstable_lint`
|
|
--> $DIR/deny-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/deny-unstable-lint-inline.rs:3:9
|
|
|
|
|
LL | #![deny(unknown_lints)]
|
|
| ^^^^^^^^^^^^^
|
|
|
|
error: unknown lint: `test_unstable_lint`
|
|
--> $DIR/deny-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
|
|
|
|
error: unknown lint: `test_unstable_lint`
|
|
--> $DIR/deny-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
|
|
|
|
error: aborting due to 3 previous errors
|
|
|