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-09-25 14:38:27 +00:00
2023-10-04 11:43:57 +02:00
2023-10-03 18:12:08 +11:00
2023-10-05 00:56:29 -07:00
2023-10-05 00:56:30 -07:00
2023-10-04 05:02:07 +02:00
2023-10-06 14:57:09 +11:00
2023-10-06 18:44:32 +00:00
2023-10-01 20:45:09 +11:00
2023-10-06 16:37:46 -07:00
2023-10-02 22:02:12 +00:00
2023-10-05 00:56:29 -07:00
2023-10-06 16:37:46 -07:00
2023-10-06 16:37:46 -07:00
2023-09-25 22:54:07 +02:00
2023-10-06 18:44:32 +00:00
2023-10-05 01:04:41 +00:00
2023-10-01 05:56:47 +00:00
2023-10-02 16:47:10 +11:00
2023-10-01 05:56:47 +00:00
2023-10-06 18:44:32 +00:00
2023-09-21 19:18:14 +00:00
2023-10-06 18:44:32 +00:00
2023-09-24 00:30:43 +02:00
2023-10-06 18:44:32 +00:00
2023-09-24 00:30:43 +02:00
2023-10-06 06:23:48 +02:00
2023-09-28 23:01:25 +02:00
2023-10-03 15:54:44 +11:00
2023-10-02 16:47:11 +11:00
2023-09-26 02:53:59 +00:00
2023-10-06 16:37:46 -07:00
2023-10-05 09:59:14 +00:00
2023-10-02 23:39:45 +03:00
2023-10-05 18:56:30 +03:00
2023-10-06 16:37:46 -07:00
2023-10-06 16:37:47 -07:00
2023-10-06 18:44:32 +00:00
2023-09-26 02:53:59 +00:00
2023-10-06 14:57:09 +11:00
2023-10-03 12:24:11 +02:00
2023-10-03 12:24:11 +02:00
2023-09-22 16:13:25 -04:00
2023-10-06 14:57:09 +11:00
2023-10-06 14:59:11 +11:00
2023-10-06 21:17:50 +02:00
2023-09-24 09:46:55 +00:00
2023-10-06 00:03:56 +00:00
2023-10-06 18:44:32 +00:00
2023-10-06 11:25:32 +11:00
2023-10-06 00:03:56 +00:00
2023-09-24 15:16:18 +00:00
2023-10-05 11:15:34 +03:00