rust/tests/ui/issues/issue-34074.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
176 B
Rust
Raw Normal View History

// run-pass
// Make sure several unnamed function parameters don't conflict with each other
2016-06-03 20:15:00 +00:00
trait Tr {
#[allow(anonymous_parameters)]
2016-06-03 20:15:00 +00:00
fn f(u8, u8) {}
}
fn main() {
}