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

18 lines
764 B
Plaintext
Raw Normal View History

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