rust/tests/ui/parser/pat-ranges-3.rs

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

6 lines
125 B
Rust
Raw Normal View History

2015-04-02 21:56:27 -05:00
// Parsing of range patterns
2015-02-19 08:01:57 -06:00
fn main() {
let 10 ..= 10 + 3 = 12; //~ expected one of `:`, `;`, `=`, or `|`, found `+`
2015-02-19 08:01:57 -06:00
}