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

fn main() {
    let macropus!() ..= 11 = 12; //~ error: expected one of `:`, `;`, `=`, or `|`, found `..=`
}