rust/tests/ui/indexing/index-help.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

5 lines
64 B
Rust
Raw Normal View History

2017-10-09 07:45:41 -05:00
fn main() {
let x = vec![1];
x[0i32]; //~ ERROR E0277
}