fn ty_param() -> [u8; std::mem::size_of::()] { //~^ ERROR generic parameters may not be used in const operations todo!() } fn const_param() -> [u8; N + 1] { //~^ ERROR generic parameters may not be used in const operations todo!() } fn main() {}