summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/pat-ranges-3.rs
blob: 8976dcf0d90f931466973cef05cc984a014fe9fe (plain)
1
2
3
4
5
// Parsing of range patterns

fn main() {
    let 10 ..= 10 + 3 = 12; //~ expected one of `:`, `;`, `=`, or `|`, found `+`
}