rust/tests/ui/errors/issue-89280-emitter-overflow-splice-lines.rs
2025-11-27 11:19:00 -05:00

11 lines
274 B
Rust

//@ edition:2015
//@ check-pass
trait X {
fn test(x: u32, (
//~^ WARN anonymous parameters are deprecated and will be removed in the next edition
//~^^ WARN this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
)) {}
}
fn main() {}