]> git.proxmox.com Git - rustc.git/blame - src/test/ui/consts/const-eval/index_out_of_bounds_propagated.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / consts / const-eval / index_out_of_bounds_propagated.stderr
CommitLineData
74b04a01 1error: this operation will panic at runtime
dfeec247 2 --> $DIR/index_out_of_bounds_propagated.rs:5:5
8faf50e0 3 |
532ac7d7 4LL | array[1];
1b1a35ee 5 | ^^^^^^^^ index out of bounds: the length is 1 but the index is 1
8faf50e0 6 |
74b04a01 7 = note: `#[deny(unconditional_panic)]` on by default
8faf50e0
XL
8
9error: aborting due to previous error
10