]>
git.proxmox.com Git - rustc.git/blob - tests/ui/parser/match-arm-without-body.rs
8 //~^ ERROR `match` arm with no body
9 //~| HELP add a body after the pattern
14 //~^ ERROR expected one of
18 //~^ ERROR unexpected `,` in pattern
19 //~| HELP try adding parentheses to match on a tuple
20 //~| HELP or a vertical bar to match on multiple alternatives
24 //~^ ERROR unexpected `,` in pattern
25 //~| HELP try adding parentheses to match on a tuple
26 //~| HELP or a vertical bar to match on multiple alternatives
31 //~^ ERROR `match` arm with no body
32 //~| HELP add a body after the pattern
37 //~^ ERROR expected one of
41 //~^ ERROR `match` arm with no body
42 //~| HELP add a body after the pattern
46 //~^ ERROR `match` arm with no body
47 //~| HELP add a body after the pattern
52 //~^ ERROR `match` arm with no body
53 //~| HELP add a body after the pattern
57 //~^ ERROR `match` arm with no body
58 //~| HELP add a body after the pattern
62 //~^ ERROR `match` arm with no body
63 //~| HELP add a body after the pattern
67 //~^ ERROR expected `,` following `match` arm
68 //~| HELP missing a comma here
73 //~^ ERROR `match` arm with no body
74 //~| HELP add a body after the pattern