1 error: unconstrained generic constant
2 --> $DIR/array-size-in-generic-struct-param.rs:8:38
4 LL | struct ArithArrayLen<const N: usize>([u32; 0 + N]);
7 = help: try adding a `where` bound using this expression: `where [(); 0 + N]:`
9 error: overly complex generic constant
10 --> $DIR/array-size-in-generic-struct-param.rs:19:15
12 LL | arr: [u8; CFG.arr_size],
13 | ^^^^^^^^^^^^ field access is not supported in generic constant
15 = help: consider moving this anonymous constant into a `const` function
16 = note: this operation may be supported in the future
18 error: aborting due to 2 previous errors