diff options
Diffstat (limited to 'tests/ui/suggestions/assoc-type-in-method-return.stderr')
-rw-r--r-- | tests/ui/suggestions/assoc-type-in-method-return.stderr | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/suggestions/assoc-type-in-method-return.stderr b/tests/ui/suggestions/assoc-type-in-method-return.stderr new file mode 100644 index 000000000..202e4a16e --- /dev/null +++ b/tests/ui/suggestions/assoc-type-in-method-return.stderr @@ -0,0 +1,9 @@ +error[E0412]: cannot find type `Bla` in this scope + --> $DIR/assoc-type-in-method-return.rs:3:25 + | +LL | fn to_bla(&self) -> Bla; + | ^^^ help: you might have meant to use the associated type: `Self::Bla` + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0412`. |