1 error: overly complex generic constant
2 --> $DIR/closures.rs:3:35
4 LL | fn test<const N: usize>() -> [u8; N + (|| 42)()] {}
7 | unsupported operation in generic constant, this may be supported in the future
9 = help: consider moving this anonymous constant into a `const` function
11 error: aborting due to previous error