// originally from glacier fixed/77919.rs // encountered errors resolving bounds after type-checking trait TypeVal { const VAL: T; } struct Five; struct Multiply { _n: PhantomData, } impl TypeVal for Multiply where N: TypeVal {} fn main() { [1; >::VAL]; }