]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/pat-ranges-2.rs
Account for cases where we can find the type arg name, but the local name is `_`
[rust.git] / src / test / 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 }