mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
d56cdd48cb
Update tests
25 lines
1.2 KiB
Plaintext
25 lines
1.2 KiB
Plaintext
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: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
|
|
|
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: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
|
= 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`.
|