// issue#132534 trait X { fn a() -> T::unknown<{}> {} //~^ ERROR: associated type `unknown` not found for `T` //~| ERROR: associated type `unknown` not found for `T` } trait Y { fn a() -> NOT_EXIST::unknown<{}> {} //~^ ERROR: failed to resolve: use of undeclared type `NOT_EXIST` } trait Z { fn a() -> T::unknown<{}> {} //~^ ERROR: associated type `unknown` not found for `T` //~| ERROR: associated type `unknown` not found for `T` } fn main() {}