mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-04 17:22:19 +00:00
9 lines
233 B
Rust
9 lines
233 B
Rust
// Regression test for https://github.com/rust-lang/rust/issues/160490.
|
|
|
|
fn f(...: u8) {}
|
|
//~^ ERROR unexpected `...`
|
|
//~| ERROR missing pattern for `...` argument
|
|
//~| WARN this was previously accepted by the compiler
|
|
|
|
fn main() {}
|