rust/tests/ui/parser/issues/issue-33413.rs

10 lines
146 B
Rust

struct S;
impl S {
fn f(*, a: u8) -> u8 {}
//~^ ERROR expected parameter name, found `*`
//~| ERROR mismatched types
}
fn main() {}