]> git.lizzy.rs Git - rust.git/blob - src/test/ui/associated-type-bounds/assoc-type-eq-with-dyn-atb-fail.stderr
Merge commit '3e7c6dec244539970b593824334876f8b6ed0b18' into clippyup
[rust.git] / src / test / ui / associated-type-bounds / assoc-type-eq-with-dyn-atb-fail.stderr
1 error[E0277]: the trait bound `String: Copy` is not satisfied
2   --> $DIR/assoc-type-eq-with-dyn-atb-fail.rs:30:28
3    |
4 LL |     type Out = Box<dyn Bar<Assoc: Copy>>;
5    |                            ^^^^^^^^^^^ the trait `Copy` is not implemented for `String`
6
7 error[E0277]: the trait bound `String: Copy` is not satisfied
8   --> $DIR/assoc-type-eq-with-dyn-atb-fail.rs:30:28
9    |
10 LL |     type Out = Box<dyn Bar<Assoc: Copy>>;
11    |                            ^^^^^^^^^^^ the trait `Copy` is not implemented for `String`
12
13 error: aborting due to 2 previous errors
14
15 For more information about this error, try `rustc --explain E0277`.