]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/type-alias-impl-trait/not_well_formed.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
13 type Foo
<V
> = impl Trait
<V
::Assoc
>; //~ associated type `Assoc` not found for `V`
17 impl<W
> Trait
<W
> for () {}
19 fn foo_desugared
<T
: TraitWithAssoc
>(_
: T
) -> Foo
<T
> {