]> git.proxmox.com Git - rustc.git/blob - src/test/ui/associated-types/hr-associated-type-bound-param-1.stderr
New upstream version 1.46.0~beta.2+dfsg1
[rustc.git] / src / test / ui / associated-types / hr-associated-type-bound-param-1.stderr
1 error[E0277]: the trait bound `for<'b> <u8 as Y<'b, u8>>::V: std::clone::Clone` is not satisfied
2 --> $DIR/hr-associated-type-bound-param-1.rs:14:14
3 |
4 LL | trait Y<'a, T: ?Sized>
5 | - required by a bound in this
6 ...
7 LL | for<'b> <Self as Y<'b, T>>::V: Clone,
8 | ----- required by this bound in `Y`
9 ...
10 LL | type V = str;
11 | ^^^ the trait `for<'b> std::clone::Clone` is not implemented for `<u8 as Y<'b, u8>>::V`
12 |
13 = help: the following implementations were found:
14 <&T as std::clone::Clone>
15 <&mut T as std::clone::Clone>
16
17 error: aborting due to previous error
18
19 For more information about this error, try `rustc --explain E0277`.