]> git.lizzy.rs Git - rust.git/blob - tests/ui/errors/issue-89280-emitter-overflow-splice-lines.stderr
Auto merge of #106520 - ehuss:update-mdbook, r=Mark-Simulacrum
[rust.git] / tests / 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    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
12    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
13    = note: `#[warn(anonymous_parameters)]` on by default
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