// issue#132534 | |
trait X { | |
fn a<T>() -> T::unknown<{}> {} | |
//~^ 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<T> { | |
fn a() -> T::unknown<{}> {} | |
//~^ ERROR: associated type `unknown` not found for `T` | |
} | |
fn main() {} |