]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/pat-lt-bracket-1.rs
Rollup merge of #57859 - GuillaumeGomez:fix-background, r=QuietMisdreavus
[rust.git] / src / test / ui / parser / pat-lt-bracket-1.rs
1 fn main() {
2   match 42 {
3     x < 7 => (),
4    //~^ error: expected one of `=>`, `@`, `if`, or `|`, found `<`
5     _ => ()
6   }
7 }