]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/pat-lt-bracket-1.rs
Auto merge of #56838 - Aaron1011:fix/rustdoc-infer-unify, r=nikomatsakis
[rust.git] / src / test / ui / parser / pat-lt-bracket-1.rs
1 // compile-flags: -Z parse-only
2
3 fn main() {
4   match 42 {
5     x < 7 => (),
6    //~^ error: expected one of `=>`, `@`, `if`, or `|`, found `<`
7     _ => ()
8   }
9 }