Commit 1cda84b
authored
Rollup merge of rust-lang#53360 - PramodBisht:issue/51602, r=estebank
Addressed rust-lang#51602
Fixed rust-lang#51602
r? @estebank
here I have addressed the case where `in` was not expected right after `if` block. Speaking of `type ascription` I am not sure if this the best approach which I have implemented. Plus I think one more test case can be added to test `type-ascription` case, though I don't have any at this point of time. I will ping you again if all existing testcases pass.File tree
3 files changed
+32
-1
lines changed- src
- libsyntax/parse
- test/ui
3 files changed
+32
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4719 | 4719 | | |
4720 | 4720 | | |
4721 | 4721 | | |
| 4722 | + | |
4722 | 4723 | | |
| 4724 | + | |
| 4725 | + | |
| 4726 | + | |
| 4727 | + | |
4723 | 4728 | | |
4724 | 4729 | | |
4725 | 4730 | | |
| |||
4729 | 4734 | | |
4730 | 4735 | | |
4731 | 4736 | | |
4732 | | - | |
| 4737 | + | |
| 4738 | + | |
4733 | 4739 | | |
4734 | 4740 | | |
4735 | 4741 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
0 commit comments