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 12:45:41 +00:00
fn main() {
let x = vec![1];
x[0i32]; //~ ERROR E0277
}