diff options
Diffstat (limited to 'tests/ui/associated-type-bounds/assoc-type-eq-with-dyn-atb-fail.stderr')
-rw-r--r-- | tests/ui/associated-type-bounds/assoc-type-eq-with-dyn-atb-fail.stderr | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/associated-type-bounds/assoc-type-eq-with-dyn-atb-fail.stderr b/tests/ui/associated-type-bounds/assoc-type-eq-with-dyn-atb-fail.stderr new file mode 100644 index 000000000..a32ab4531 --- /dev/null +++ b/tests/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`. |