1 error[E0658]: lint reasons are experimental
2 --> $DIR/feature-gate-lint-reasons.rs:1:28
4 LL | #![warn(nonstandard_style, reason = "the standard should be respected")]
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 = note: see issue #54503 <https://github.com/rust-lang/rust/issues/54503> for more information
8 = help: add `#![feature(lint_reasons)]` to the crate attributes to enable
10 error[E0658]: lint reasons are experimental
11 --> $DIR/feature-gate-lint-reasons.rs:1:28
13 LL | #![warn(nonstandard_style, reason = "the standard should be respected")]
14 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
16 = note: see issue #54503 <https://github.com/rust-lang/rust/issues/54503> for more information
17 = help: add `#![feature(lint_reasons)]` to the crate attributes to enable
19 error: aborting due to 2 previous errors
21 For more information about this error, try `rustc --explain E0658`.