summaryrefslogtreecommitdiffstats
path: root/tests/ui/feature-gates/feature-gate-lint-reasons.stderr
blob: 12793c7a28fcac98284c70781c5a253900a2c9e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
error[E0658]: lint reasons are experimental
  --> $DIR/feature-gate-lint-reasons.rs:1:28
   |
LL | #![warn(nonstandard_style, reason = "the standard should be respected")]
   |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: see issue #54503 <https://github.com/rust-lang/rust/issues/54503> for more information
   = help: add `#![feature(lint_reasons)]` to the crate attributes to enable

error[E0658]: lint reasons are experimental
  --> $DIR/feature-gate-lint-reasons.rs:1:28
   |
LL | #![warn(nonstandard_style, reason = "the standard should be respected")]
   |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: see issue #54503 <https://github.com/rust-lang/rust/issues/54503> for more information
   = help: add `#![feature(lint_reasons)]` to the crate attributes to enable

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0658`.