]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/assoc-type-in-method-return.rs
Rollup merge of #90420 - GuillaumeGomez:rustdoc-internals-feature, r=camelid
[rust.git] / src / test / ui / suggestions / assoc-type-in-method-return.rs
1 trait A {
2     type Bla;
3     fn to_bla(&self) -> Bla;
4     //~^ ERROR cannot find type `Bla` in this scope
5 }
6
7 fn main() {}