summaryrefslogtreecommitdiffstats
path: root/src/test/ui/associated-type-bounds/missing-trait-bound-for-assoc-fails.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/associated-type-bounds/missing-trait-bound-for-assoc-fails.stderr')
-rw-r--r--src/test/ui/associated-type-bounds/missing-trait-bound-for-assoc-fails.stderr16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/test/ui/associated-type-bounds/missing-trait-bound-for-assoc-fails.stderr b/src/test/ui/associated-type-bounds/missing-trait-bound-for-assoc-fails.stderr
new file mode 100644
index 000000000..bc2807b03
--- /dev/null
+++ b/src/test/ui/associated-type-bounds/missing-trait-bound-for-assoc-fails.stderr
@@ -0,0 +1,16 @@
+error[E0405]: cannot find trait `Temp` in this scope
+ --> $DIR/missing-trait-bound-for-assoc-fails.rs:4:14
+ |
+LL | M::Item: Temp,
+ | ^^^^ not found in this scope
+
+error[E0220]: associated type `Item` not found for `M`
+ --> $DIR/missing-trait-bound-for-assoc-fails.rs:4:8
+ |
+LL | M::Item: Temp,
+ | ^^^^ associated type `Item` not found
+
+error: aborting due to 2 previous errors
+
+Some errors have detailed explanations: E0220, E0405.
+For more information about an error, try `rustc --explain E0220`.