]> git.lizzy.rs Git - rust.git/blob - tests/ui/associated-types/hr-associated-type-bound-param-1.stderr
Rollup merge of #106692 - eggyal:mv-binary_heap.rs-binary_heap/mod.rs, r=Mark-Simulacrum
[rust.git] / tests / ui / associated-types / hr-associated-type-bound-param-1.stderr
1 error[E0277]: the trait bound `str: Clone` is not satisfied
2   --> $DIR/hr-associated-type-bound-param-1.rs:14:14
3    |
4 LL |     type V = str;
5    |              ^^^ the trait `Clone` is not implemented for `str`
6    |
7    = help: the trait `Clone` is implemented for `String`
8 note: required by a bound in `Y`
9   --> $DIR/hr-associated-type-bound-param-1.rs:4:36
10    |
11 LL | trait Y<'a, T: ?Sized>
12    |       - required by a bound in this
13 ...
14 LL |     for<'b> <Self as Y<'b, T>>::V: Clone,
15    |                                    ^^^^^ required by this bound in `Y`
16
17 error: aborting due to previous error
18
19 For more information about this error, try `rustc --explain E0277`.