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

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

6 lines
145 B
Rust
Raw Normal View History

2015-04-03 02:56:27 +00:00
// Parsing of range patterns
2015-02-19 14:01:57 +00:00
fn main() {
let 10 ..= makropulos!() = 12; //~ error: expected one of `::`, `:`, `;`, `=`, or `|`, found `!`
2015-02-19 14:01:57 +00:00
}