fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1warning: this operation will panic at runtime 2 --> $DIR/array-literal-index-oob.rs:7:8 3 | 4LL | &{ [1, 2, 3][4] }; 5 | ^^^^^^^^^^^^ index out of bounds: the length is 3 but the index is 4 6 | 7note: the lint level is defined here 8 --> $DIR/array-literal-index-oob.rs:4:9 9 | 10LL | #![warn(unconditional_panic)] 11 | ^^^^^^^^^^^^^^^^^^^ 12 13warning: 1 warning emitted 14