mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
11 lines
257 B
Rust
11 lines
257 B
Rust
//@ 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() {}
|