]> git.proxmox.com Git - rustc.git/blob - src/test/ui/associated-types/hr-associated-type-bound-param-4.stderr
New upstream version 1.56.0~beta.4+dfsg1
[rustc.git] / src / test / ui / associated-types / hr-associated-type-bound-param-4.stderr
1 error[E0277]: the trait bound `str: Clone` is not satisfied
2 --> $DIR/hr-associated-type-bound-param-4.rs:13:14
3 |
4 LL | type U = str;
5 | ^^^ the trait `Clone` is not implemented for `str`
6 |
7 note: required by a bound in `X`
8 --> $DIR/hr-associated-type-bound-param-4.rs:4:36
9 |
10 LL | trait X<'a, T>
11 | - required by a bound in this
12 ...
13 LL | for<'b> <(T,) as X<'b, T>>::U: Clone,
14 | ^^^^^ required by this bound in `X`
15
16 error: aborting due to previous error
17
18 For more information about this error, try `rustc --explain E0277`.