1 error: negative integers cannot be used to index on a `Vec<{integer}>`
2 --> $DIR/negative-literal-index.rs:15:7
5 | ^^ cannot use a negative integer for indexing on `Vec<{integer}>`
7 help: to access an element starting from the end of the `Vec<{integer}>`, compute the index
12 error: negative integers cannot be used to index on a `[{integer}; 3]`
13 --> $DIR/negative-literal-index.rs:17:7
16 | ^^ cannot use a negative integer for indexing on `[{integer}; 3]`
18 help: to access an element starting from the end of the `[{integer}; 3]`, compute the index
23 error: negative integers cannot be used to index on a `[{integer}; 3]`
24 --> $DIR/negative-literal-index.rs:19:7
27 | ^^ cannot use a negative integer for indexing on `[{integer}; 3]`
29 help: to access an element starting from the end of the `[{integer}; 3]`, compute the index
34 error: aborting due to 3 previous errors