1 2 3 4
#![feature(const_generics_defaults)] struct Foo<const N: u8 = { 255 + 1 }>; //~^ ERROR evaluation of constant value failed fn main() {}