]> git.proxmox.com Git - rustc.git/blob - src/test/ui/associated-type-bounds/assoc-type-eq-with-dyn-atb-fail.stderr
New upstream version 1.49.0~beta.4+dfsg1
[rustc.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`.