summaryrefslogtreecommitdiffstats
path: root/src/test/ui/associated-type-bounds/assoc-type-eq-with-dyn-atb-fail.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/associated-type-bounds/assoc-type-eq-with-dyn-atb-fail.stderr')
-rw-r--r--src/test/ui/associated-type-bounds/assoc-type-eq-with-dyn-atb-fail.stderr9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/ui/associated-type-bounds/assoc-type-eq-with-dyn-atb-fail.stderr b/src/test/ui/associated-type-bounds/assoc-type-eq-with-dyn-atb-fail.stderr
new file mode 100644
index 000000000..a32ab4531
--- /dev/null
+++ b/src/test/ui/associated-type-bounds/assoc-type-eq-with-dyn-atb-fail.stderr
@@ -0,0 +1,9 @@
+error[E0277]: the trait bound `String: Copy` is not satisfied
+ --> $DIR/assoc-type-eq-with-dyn-atb-fail.rs:32:18
+ |
+LL | fn func() -> Self::Out {
+ | ^^^^^^^^^ the trait `Copy` is not implemented for `String`
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0277`.