]>
Commit | Line | Data |
---|---|---|
74b04a01 | 1 | error: this operation will panic at runtime |
dfeec247 | 2 | --> $DIR/index_out_of_bounds_propagated.rs:5:5 |
8faf50e0 | 3 | | |
532ac7d7 | 4 | LL | 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 | |
9 | error: aborting due to previous error | |
10 |