mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 22:18:23 +03:00
12 lines
269 B
Rust
12 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() {}
|