rust/tests/ui/suggestions/assoc-type-in-method-return.rs

8 lines
121 B
Rust

trait A {
type Bla;
fn to_bla(&self) -> Bla;
//~^ ERROR cannot find type `Bla` in this scope
}
fn main() {}