18 lines
799 B
Plaintext
18 lines
799 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) {} //~ ERROR anonymous parameters are deprecated
|
|
| ^^ help: Try naming the parameter or explicitly ignoring it: `_: u8`
|
|
|
|
|
note: lint level 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
|
|
|