11 lines
269 B
Rust
11 lines
269 B
Rust
//! regression test for <https://github.com/rust-lang/rust/issues/34074>
|
|
//@ 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() {}
|