summaryrefslogtreecommitdiffstats
path: root/src/test/ui/suggestions/assoc-type-in-method-return.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/suggestions/assoc-type-in-method-return.stderr')
-rw-r--r--src/test/ui/suggestions/assoc-type-in-method-return.stderr9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/ui/suggestions/assoc-type-in-method-return.stderr b/src/test/ui/suggestions/assoc-type-in-method-return.stderr
new file mode 100644
index 000000000..202e4a16e
--- /dev/null
+++ b/src/test/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`.