These tests specifically test 2015 edition behavior, so ensure that they can only be run with this edition
11 lines
197 B
Rust
11 lines
197 B
Rust
//@ edition: 2015
|
|
//@ check-pass
|
|
// Make sure several unnamed function parameters don't conflict with each other
|
|
|
|
trait Tr {
|
|
#[allow(anonymous_parameters)]
|
|
fn f(u8, u8) {}
|
|
}
|
|
|
|
fn main() {
|
|
}
|