1
Fork 0
rust/src/test/ui/future-incompatible-lint-group.stderr

18 lines
731 B
Text
Raw Normal View History

2018-08-08 14:28:26 +02:00
error: anonymous parameters are deprecated and will be removed in the next edition.
2018-12-25 08:56:47 -07:00
--> $DIR/future-incompatible-lint-group.rs:4:10
2018-08-08 14:28:26 +02:00
|
2019-03-09 15:03:44 +03:00
LL | fn f(u8) {}
2020-01-10 14:13:05 +00:00
| ^^ help: try naming the parameter or explicitly ignoring it: `_: u8`
2018-08-08 14:28:26 +02:00
|
2020-01-22 23:57:38 +00:00
note: the lint level is defined here
2018-12-25 08:56:47 -07:00
--> $DIR/future-incompatible-lint-group.rs:1:9
2018-08-08 14:28:26 +02:00
|
LL | #![deny(future_incompatible)]
| ^^^^^^^^^^^^^^^^^^^
= note: `#[deny(anonymous_parameters)]` implied by `#[deny(future_incompatible)]`
2021-06-16 14:27:44 +02:00
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
2018-08-08 14:28:26 +02:00
= note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
error: aborting due to previous error