summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-33413.rs
blob: 7291732cebe4a3751062346c6920758f349d38c5 (plain)
1
2
3
4
5
6
7
8
9
struct S;

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

fn main() {}