Commit ef018be
committed
Update the syn crate and adopt let_else in three more places
The syn crate has gained support for let_else syntax in version 1.0.76,
see dtolnay/syn#1057 .
In the three instances that use let_else, we've sent code through an
attr macro, which would create compile errors when there was no
let_else support in syn. To avoid this, we ran
`cargo +nightly update -p syn` for updating the syn crate.1 parent 1418df5 commit ef018be
File tree
4 files changed
+7
-13
lines changed- compiler
- rustc_resolve/src/late
- rustc_typeck/src/check
4 files changed
+7
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2728 | 2728 | | |
2729 | 2729 | | |
2730 | 2730 | | |
2731 | | - | |
| 2731 | + | |
2732 | 2732 | | |
2733 | | - | |
| 2733 | + | |
2734 | 2734 | | |
2735 | 2735 | | |
2736 | 2736 | | |
| |||
5090 | 5090 | | |
5091 | 5091 | | |
5092 | 5092 | | |
5093 | | - | |
| 5093 | + | |
5094 | 5094 | | |
5095 | | - | |
| 5095 | + | |
5096 | 5096 | | |
5097 | 5097 | | |
5098 | 5098 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1057 | 1057 | | |
1058 | 1058 | | |
1059 | 1059 | | |
1060 | | - | |
1061 | | - | |
1062 | | - | |
| 1060 | + | |
1063 | 1061 | | |
1064 | 1062 | | |
1065 | 1063 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
521 | 521 | | |
522 | 522 | | |
523 | 523 | | |
524 | | - | |
525 | | - | |
526 | | - | |
| 524 | + | |
527 | 525 | | |
528 | 526 | | |
529 | 527 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1678 | 1678 | | |
1679 | 1679 | | |
1680 | 1680 | | |
1681 | | - | |
1682 | | - | |
1683 | | - | |
| 1681 | + | |
1684 | 1682 | | |
1685 | 1683 | | |
1686 | 1684 | | |
| |||
0 commit comments