summaryrefslogtreecommitdiffstats
path: root/tests/ui/feature-gates/feature-gate-lint-reasons.stderr
blob: 6d49b7ed2cd04f6ad39c56ef7d905687c4a3de8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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
   = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`

error: aborting due to 2 previous errors

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