rust/src/test/ui/future-incompatible-lint-group.stderr
2020-01-24 16:24:50 +00:00

18 lines
764 B
Plaintext

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