]> git.lizzy.rs Git - rust.git/blob - tests/ui/consts/const-array-oob.stderr
Rollup merge of #106717 - klensy:typo, r=lcnr
[rust.git] / tests / ui / consts / const-array-oob.stderr
1 error[E0080]: evaluation of constant value failed
2   --> $DIR/const-array-oob.rs:4:19
3    |
4 LL | const BLUB: [u32; FOO[4]] = [5, 6];
5    |                   ^^^^^^ index out of bounds: the length is 3 but the index is 4
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0080`.