// An addition to the `type-alias.rs` test, // see the FIXME in that file for why this test // exists. // // If there is none, feel free to remove this test // again. struct Ty(T); impl Ty { fn new() {} } type IndirectAlias = Ty>; fn indirect_alias() { IndirectAlias::new(); //~^ ERROR type annotations needed } fn main() {}