1 error: constant expression depends on a generic parameter
2 --> $DIR/array-size-in-generic-struct-param.rs:9:38
4 LL | struct ArithArrayLen<const N: usize>([u32; 0 + N]);
7 = note: this may fail depending on what value the parameter takes
9 error: constant expression depends on a generic parameter
10 --> $DIR/array-size-in-generic-struct-param.rs:20:10
12 LL | arr: [u8; CFG.arr_size],
15 = note: this may fail depending on what value the parameter takes
17 error: aborting due to 2 previous errors