]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/impl-trait/associated-impl-trait-type-generic-trait.rs
1 // revisions: min_tait full_tait
2 #![feature(min_type_alias_impl_trait)]
3 #![cfg_attr(full_tait, feature(type_alias_impl_trait))]
4 //[full_tait]~^ WARN incomplete
5 // build-pass (FIXME(62277): could be check-pass?)
9 impl<V
> Bar
for Dummy
<V
> {}
13 fn foo(t
: T
) -> Self::Assoc
;
16 impl<W
> Foo
<W
> for i32 {
17 type Assoc
= impl Bar
;
18 fn foo(w
: W
) -> Self::Assoc
{
24 impl Bar
for NonGeneric {}
26 impl<W
> Foo
<W
> for u32 {
27 type Assoc
= impl Bar
;
28 fn foo(_
: W
) -> Self::Assoc
{