1 error: overly complex generic constant
2 --> $DIR/unused_expr.rs:4:34
4 LL | fn add<const N: usize>() -> [u8; { N + 1; 5 }] {
9 = help: consider moving this anonymous constant into a `const` function
11 error: overly complex generic constant
12 --> $DIR/unused_expr.rs:9:34
14 LL | fn div<const N: usize>() -> [u8; { N / 1; 5 }] {
19 = help: consider moving this anonymous constant into a `const` function
21 error: overly complex generic constant
22 --> $DIR/unused_expr.rs:16:38
24 LL | fn fn_call<const N: usize>() -> [u8; { foo(N); 5 }] {
29 = help: consider moving this anonymous constant into a `const` function
31 error: aborting due to 3 previous errors