rust/tests/ui/issues/issue-34074.rs
Lukas Wirth 49969468b5 Add missing 2015 edition directives
These tests specifically test 2015 edition behavior, so ensure that they can only be run with this edition
2025-06-03 11:45:58 +02:00

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() {
}