summary refs log tree commit diff
path: root/src/test/ui/parser/pat-ranges-4.rs
blob: 7f4a5f3239e7635ceeb730fb1149201808987d20 (plain)
1
2
3
4
5
6
// Parsing of range patterns

fn main() {
    let 10 - 3 ..= 10 = 8;
    //~^ error: expected one of `...`, `..=`, `..`, `:`, `;`, or `=`, found `-`
}