summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/match-arrows-block-then-binop.rs
blob: 56c917c7462f2e2d838edd6c73639bdf893a9fad (plain)
1
2
3
4
5
6
7
fn main() {
    let _ = match 0 {
      0 => {
        0
      } + 5 //~ ERROR expected pattern, found `+`
    };
}