blob: 32ecc36661898547db97e7924871a1c756311fd7 [file] [log] [blame]
#![feature(type_alias_impl_trait)]
pub trait Bar<T> {
type Item;
}
type Foo = impl Bar<Foo, Item = Foo>;
//~^ ERROR: could not find defining uses
fn crash(x: Foo) -> Foo {
x
}
fn main() {
}