]> git.proxmox.com Git - rustc.git/blame - src/test/ui/future-incompatible-lint-group.stderr
New upstream version 1.30.0~beta.7+dfsg1
[rustc.git] / src / test / ui / future-incompatible-lint-group.stderr
CommitLineData
b7449926
XL
1error: anonymous parameters are deprecated and will be removed in the next edition.
2 --> $DIR/future-incompatible-lint-group.rs:14:10
3 |
4LL | fn f(u8) {} //~ ERROR anonymous parameters are deprecated
5 | ^^ help: Try naming the parameter or explicitly ignoring it: `_: u8`
6 |
7note: lint level defined here
8 --> $DIR/future-incompatible-lint-group.rs:11:9
9 |
10LL | #![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
16error: aborting due to previous error
17