]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/assoc-type-in-method-return.stderr
Account for method call and indexing when looking for inner-most path in expression
[rust.git] / tests / ui / suggestions / assoc-type-in-method-return.stderr
1 error[E0412]: cannot find type `Bla` in this scope
2   --> $DIR/assoc-type-in-method-return.rs:3:25
3    |
4 LL |     fn to_bla(&self) -> Bla;
5    |                         ^^^ help: you might have meant to use the associated type: `Self::Bla`
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0412`.