rust/tests/ui/parser/pat-lt-bracket-1.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
136 B
Rust
Raw Normal View History

2015-02-19 22:01:57 +08:00
fn main() {
match 42 {
2015-02-20 03:10:31 +08:00
x < 7 => (),
2023-11-27 03:15:56 +01:00
//~^ error: expected one of `,`, `=>`, `@`, `if`, `|`, or `}`, found `<`
2015-02-19 22:01:57 +08:00
_ => ()
}
}