1
Fork 0
rust/tests/ui/parser/pat-lt-bracket-5.rs

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

6 lines
143 B
Rust
Raw Normal View History

2015-04-03 05:56:27 +03:00
fn main() {
let v[0] = v[1];
//~^ error: expected a pattern, found an expression
//~| error: cannot find value `v` in this scope
2017-11-23 13:16:19 -08:00
}