blob: 919446877a14254e9e265b7410015a32eaaf0e1f [file] [log] [blame]
#![feature(type_alias_impl_trait)]
fn main() {
}
trait TraitWithAssoc {
type Assoc;
}
type Foo<V> = impl Trait<V>;
//~^ ERROR could not find defining uses
trait Trait<U> {}
impl<W> Trait<W> for () {}
fn foo_desugared<T: TraitWithAssoc>(_: T) -> Foo<T::Assoc> { //~ ERROR does not fully define
()
}