]> git.lizzy.rs Git - rust.git/blob - src/test/ui/errors/issue-89280-emitter-overflow-splice-lines.stderr
Rollup merge of #100026 - WaffleLapkin:array-chunks, r=scottmcm
[rust.git] / src / test / ui / errors / issue-89280-emitter-overflow-splice-lines.stderr
1 warning: anonymous parameters are deprecated and will be removed in the next edition
2   --> $DIR/issue-89280-emitter-overflow-splice-lines.rs:4:21
3    |
4 LL |       fn test(x: u32, (
5    |  _____________________^
6 LL | |
7 LL | |
8 LL | |     )) {}
9    | |_____^
10    |
11    = note: `#[warn(anonymous_parameters)]` on by default
12    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
13    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
14 help: try naming the parameter or explicitly ignoring it
15    |
16 LL ~     fn test(x: u32, _: (
17 LL +
18 LL +
19 LL ~     )) {}
20    |
21
22 warning: 1 warning emitted
23