]> git.proxmox.com Git - rustc.git/blame - src/test/ui/consts/const-eval/index_out_of_bounds_propagated.stderr
New upstream version 1.38.0+dfsg1
[rustc.git] / src / test / ui / consts / const-eval / index_out_of_bounds_propagated.stderr
CommitLineData
8faf50e0 1error: index out of bounds: the len is 1 but the index is 1
0731742a 2 --> $DIR/index_out_of_bounds_propagated.rs:3:5
8faf50e0 3 |
532ac7d7 4LL | array[1];
8faf50e0
XL
5 | ^^^^^^^^
6 |
416331ca 7 = note: `#[deny(const_err)]` on by default
8faf50e0
XL
8
9error: aborting due to previous error
10