rust/tests/ui/errors/issue-89280-emitter-overflow-splice-lines.stderr
Jana Dönszelmann 1ef1ec13d8
bless the tests
2025-12-10 15:15:56 +01:00

19 lines
716 B
Text

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