struct Fail; //~^ ERROR: type parameter `T` is never used impl Fail { const C: () = (); } fn main() { Fail::<()>::C }