blob: 6878bde85b8b91fd694133df1eb9cf1545ac6061 [file] [log] [blame] [edit]
warning: anonymous parameters are deprecated and will be removed in the next edition
--> $DIR/issue-89280-emitter-overflow-splice-lines.rs:5:21
|
LL | fn test(x: u32, (
| _____________________^
... |
LL | | )) {}
| |_____^
|
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
= note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2018/trait-fn-parameters.html>
= note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default
help: try naming the parameter or explicitly ignoring it
|
LL | fn test(x: u32, _: (
| ++
warning: 1 warning emitted