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

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