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