]> git.lizzy.rs Git - rust.git/blob - src/test/ui/future-incompatible-lint-group.stderr
Auto merge of #54624 - arielb1:evaluate-outlives, r=nikomatsakis
[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:14:10
3    |
4 LL |     fn f(u8) {} //~ ERROR anonymous parameters are deprecated
5    |          ^^ help: Try naming the parameter or explicitly ignoring it: `_: u8`
6    |
7 note: lint level defined here
8   --> $DIR/future-incompatible-lint-group.rs:11:9
9    |
10 LL | #![deny(future_incompatible)]
11    |         ^^^^^^^^^^^^^^^^^^^
12    = note: #[deny(anonymous_parameters)] implied by #[deny(future_incompatible)]
13    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
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