1 error: overly complex generic constant
2 --> $DIR/let-bindings.rs:6:68
4 LL | fn test<const N: usize>() -> [u8; { let x = N; N + 1 }] where [u8; { let x = N; N + 1 }]: Default {
5 | ^^^^^^^^^^^^^^^^^^^^ blocks are not supported in generic constant
7 = help: consider moving this anonymous constant into a `const` function
8 = note: this operation may be supported in the future
10 error: overly complex generic constant
11 --> $DIR/let-bindings.rs:6:35
13 LL | fn test<const N: usize>() -> [u8; { let x = N; N + 1 }] where [u8; { let x = N; N + 1 }]: Default {
14 | ^^^^^^^^^^^^^^^^^^^^ blocks are not supported in generic constant
16 = help: consider moving this anonymous constant into a `const` function
17 = note: this operation may be supported in the future
19 error: aborting due to 2 previous errors