]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/pat-ranges-2.rs
Rollup merge of #106661 - mjguzik:linux_statx, r=Mark-Simulacrum
[rust.git] / tests / ui / parser / pat-ranges-2.rs
1 // Parsing of range patterns
2
3 fn main() {
4     let 10 ..= makropulos!() = 12; //~ error: expected one of `::`, `:`, `;`, `=`, or `|`, found `!`
5 }