Jubilee 0d68e416a5
Rollup merge of #116400 - estebank:issue-78585, r=WaffleLapkin
Detect missing `=>` after match guard during parsing

```
error: expected one of `,`, `:`, or `}`, found `.`
  --> $DIR/missing-fat-arrow.rs:25:14
   |
LL |         Some(a) if a.value == b {
   |                               - while parsing this struct
LL |             a.value = 1;
   |             -^ expected one of `,`, `:`, or `}`
   |             |
   |             while parsing this struct field
   |
help: try naming a field
   |
LL |             a: a.value = 1;
   |             ++
help: you might have meant to start a match arm after the match guard
   |
LL |         Some(a) if a.value == b => {
   |                                 ++
```

Fix #78585.
2023-10-06 16:37:47 -07:00
..
2023-08-01 23:30:40 +08:00
2023-08-01 23:30:40 +08:00
2023-05-02 22:36:24 +00:00
2023-05-02 22:36:24 +00:00
2023-05-01 16:15:13 +08:00
2023-05-01 16:15:13 +08:00
2023-05-01 16:15:13 +08:00
2023-04-03 09:24:11 +02:00
2023-05-01 16:15:13 +08:00
2023-05-01 16:15:13 +08:00
2023-04-07 08:54:13 +12:00
fmt
2023-05-13 19:40:17 +08:00
fmt
2023-05-13 19:40:17 +08:00
2023-08-07 22:40:09 +08:00