1 error: index out of bounds: the len is 3 but the index is 4
2 --> $DIR/const-array-oob.rs:18:19
4 LL | const BLUB: [u32; FOO[4]] = [5, 6];
7 = note: #[deny(const_err)] on by default
9 error[E0080]: could not evaluate constant expression
10 --> $DIR/const-array-oob.rs:18:1
12 LL | const BLUB: [u32; FOO[4]] = [5, 6];
13 | ^^^^^^^^^^^^^^^^^^------^^^^^^^^^^^
15 | index out of bounds: the len is 3 but the index is 4
17 error: aborting due to 2 previous errors
19 For more information about this error, try `rustc --explain E0080`.