]> git.lizzy.rs Git - rust.git/blob - src/test/ui/associated-types/hr-associated-type-bound-param-4.stderr
feat(rustdoc): open sidebar menu when links inside it are focused
[rust.git] / src / test / ui / associated-types / hr-associated-type-bound-param-4.stderr
1 error[E0277]: the trait bound `for<'b> <(T,) as X<'b, T>>::U: Clone` is not satisfied
2   --> $DIR/hr-associated-type-bound-param-4.rs:13:14
3    |
4 LL | trait X<'a, T>
5    |       - required by a bound in this
6 ...
7 LL |     for<'b> <(T,) as X<'b, T>>::U: Clone,
8    |                                    ----- required by this bound in `X`
9 ...
10 LL |     type U = str;
11    |              ^^^ the trait `for<'b> Clone` is not implemented for `<(T,) as X<'b, T>>::U`
12    |
13    = help: the following implementations were found:
14              <&T as Clone>
15
16 error: aborting due to previous error
17
18 For more information about this error, try `rustc --explain E0277`.