]> git.lizzy.rs Git - rust.git/blob - src/test/ui/future-incompatible-lint-group.stderr
Auto merge of #86637 - ehuss:spellings, r=dtolnay
[rust.git] / src / test / ui / future-incompatible-lint-group.stderr
1 error: anonymous parameters are deprecated and will be removed in the next edition.
2   --> $DIR/future-incompatible-lint-group.rs:4:10
3    |
4 LL |     fn f(u8) {}
5    |          ^^ help: try naming the parameter or explicitly ignoring it: `_: u8`
6    |
7 note: the lint level is defined here
8   --> $DIR/future-incompatible-lint-group.rs:1:9
9    |
10 LL | #![deny(future_incompatible)]
11    |         ^^^^^^^^^^^^^^^^^^^
12    = note: `#[deny(anonymous_parameters)]` implied by `#[deny(future_incompatible)]`
13    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
14    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
15
16 error: aborting due to previous error
17