]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/associated-types/hr-associated-type-bound-param-4.rs
3 for<'b
> (T
,): X
<'b
, T
>,
4 for<'b
> <(T
,) as X
<'b
, T
>>::U
: Clone
,
7 fn f(x
: &<(T
,) as X
<'_
, T
>>::U
) {
8 <<(T
,) as X
<'_
, T
>>::U
>::clone(x
);
12 impl<S
, T
> X
<'_
, T
> for (S
,) {
14 //~^ ERROR the trait bound `for<'b> <(T,) as X<'b, T>>::U: Clone` is not satisfied
18 <(i32,) as X
<i32>>::f("abc");