fn main() { [1; >::VAL]; //~ ERROR evaluation of constant value failed } trait TypeVal { const VAL: T; //~ ERROR any use of this value will cause an error } struct Five; struct Multiply { _n: PhantomData, //~ ERROR cannot find type `PhantomData` in this scope } impl TypeVal for Multiply where N: TypeVal {} //~^ ERROR cannot find type `VAL` in this scope //~| ERROR not all trait items implemented, missing: `VAL`