summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-58856-1.rs
blob: ea80eb8714f966c242688a576702c1743ab93be8 (plain)
1
2
3
4
5
6
7
8
impl A {
    //~^ ERROR cannot find type `A` in this scope
    fn b(self>
    //~^ ERROR expected one of `)`, `,`, or `:`, found `>`
    //~| ERROR expected one of `->`, `where`, or `{`, found `>`
}

fn main() {}