summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/pat-lt-bracket-1.rs
blob: 33da15adb9e40e2d72bd454c1b2abec427581af7 (plain)
1
2
3
4
5
6
7
fn main() {
  match 42 {
    x < 7 => (),
   //~^ error: expected one of `,`, `=>`, `@`, `if`, `|`, or `}`, found `<`
    _ => ()
  }
}