// originally from glacier fixed/77919.rs // encountered errors resolving bounds after type-checking //@no-rustfix trait TypeVal { const VAL: T; } struct Five; struct Multiply { _n: PhantomData, //~^ ERROR: cannot find type } impl TypeVal for Multiply where N: TypeVal {} //~^ ERROR: cannot find type //~| ERROR: not all trait items fn main() { [1; >::VAL]; }