struct Fail; //~^ ERROR: type parameter `T` is never used impl Fail { const C: () = (); } fn main() { Fail::<()>::C //~^ ERROR no associated item named `C` found for struct `Fail<()>` in the current scope }