1 error: constant expression depends on a generic parameter
2 --> $DIR/issue-61522-array-len-succ.rs:7:40
4 LL | pub struct MyArray<const COUNT: usize>([u8; COUNT + 1]);
7 = note: this may fail depending on what value the parameter takes
9 error: constant expression depends on a generic parameter
10 --> $DIR/issue-61522-array-len-succ.rs:12:24
12 LL | fn inner(&self) -> &[u8; COUNT + 1] {
15 = note: this may fail depending on what value the parameter takes
17 error: aborting due to 2 previous errors