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