]>
git.proxmox.com Git - rustc.git/blob - tests/ui/implied-bounds/implied-bounds-unconstrained-2.rs
3 // Another minimized regression test for #112832.
8 trait Sub
<'a
>: Trait
<Assoc
= <Self as Sub
<'a
>>::SubAssoc
> {
12 // By using the where-clause we normalize `<T as Trait>::Assoc` to
13 // `<T as Sub<'a>>::SubAssoc` where `'a` is an unconstrained region
15 fn foo
<T
>(x
: <T
as Trait
>::Assoc
)