fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
665 B23 linesraw
1warning: anonymous parameters are deprecated and will be removed in the next edition
2  --> $DIR/issue-89280-emitter-overflow-splice-lines.rs:4:21
3   |
4LL |       fn test(x: u32, (
5   |  _____________________^
6LL | |
7LL | |
8LL | |     )) {}
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
14help: try naming the parameter or explicitly ignoring it
15   |
16LL ~     fn test(x: u32, _: (
17LL +
18LL +
19LL ~     )) {}
20   |
21
22warning: 1 warning emitted
23