summaryrefslogtreecommitdiffstats
path: root/tests/ui/suggestions/assoc-type-in-method-return.rs
blob: 9bde65998d7441ad96a45e9d2b468516cdbf9c11 (plain)
1
2
3
4
5
6
7
trait A {
    type Bla;
    fn to_bla(&self) -> Bla;
    //~^ ERROR cannot find type `Bla` in this scope
}

fn main() {}