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-10-03 21:21:02 +00:00
2023-10-03 21:21:02 +00:00
2023-09-06 09:05:07 +05:30
2023-08-01 23:30:40 +08:00
2023-08-01 23:30:40 +08: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-09-06 09:05:07 +05:30
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-10-03 21:21:02 +00:00
2023-04-28 11:56:02 +00:00
2023-09-06 09:05:07 +05:30
2023-03-12 13:19:46 +00:00
2023-05-02 22:36:24 +00:00
2023-05-02 22:36:24 +00:00
2023-05-02 22:36:24 +00:00
2023-09-06 09:05:07 +05:30
2023-08-15 01:03:09 +00:00
2023-08-15 01:03:09 +00:00
2023-10-05 01:04:41 +00:00
2023-09-28 00:37:20 +00:00
2023-10-03 21:21:02 +00:00
2023-10-03 21:21:02 +00:00
2023-10-03 21:21:02 +00:00
2023-05-01 16:15:13 +08:00
2023-05-01 16:15:13 +08:00
2023-09-21 23:20:47 +08:00
2023-09-21 23:20:47 +08:00
2023-09-21 23:20:47 +08:00
2023-09-21 23:20:47 +08:00
2023-03-20 20:54:41 +13:00
2023-03-20 20:54:41 +13:00
2023-03-05 14:23:43 +01:00
2023-03-05 14:23:43 +01:00
2023-04-07 08:54:13 +12:00
2023-04-07 08:54:13 +12:00
2023-05-13 00:33:27 +08:00
2023-05-13 00:33:27 +08:00
2023-05-13 19:40:17 +08:00
2023-05-13 19:40:17 +08:00
2023-06-10 06:28:35 +08:00
2023-06-10 06:28:35 +08:00
2023-06-11 14:36:20 +08:00
2023-06-11 14:36:20 +08:00
2023-09-06 09:05:07 +05:30
2023-09-06 09:05:07 +05:30
2023-08-07 22:40:09 +08:00
2023-08-07 22:40:09 +08:00
2023-07-31 11:04:28 +08:00
2023-07-31 11:04:28 +08:00
2023-09-12 16:38:59 +02:00