Sign in
◑
Theme
rust
/
rust
/
refs/heads/automation/bors/auto
/
.
/
tests
/
ui
/
parser
/
recover-invalid-function-parameter-pattern-2.rs
blob: ea0233f433099815576a9ddd55b2301fd0a2ea1a [
file
] [
edit
]
// 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
()
{}