1 2 3 4 5 6
struct Bar(u8); struct Foo<const N: Bar>; //~^ ERROR: `Bar` is forbidden as the type of a const generic parameter fn main() {}