mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-28 19:27:30 +03:00
49969468b5
These tests specifically test 2015 edition behavior, so ensure that they can only be run with this edition
12 lines
197 B
Rust
12 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() {
|
|
}
|