Commit 7059722
Fix spans for bad await in inline const
1 parent a6833b0 commit 7059722
File tree
5 files changed
+26
-64
lines changed- compiler/rustc_ast_lowering/src
- tests/ui/async-await
- issues
5 files changed
+26
-64
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
192 | | - | |
| 192 | + | |
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| |||
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
326 | | - | |
| 326 | + | |
327 | 327 | | |
328 | 328 | | |
329 | 329 | | |
| |||
922 | 922 | | |
923 | 923 | | |
924 | 924 | | |
925 | | - | |
926 | | - | |
927 | | - | |
| 925 | + | |
928 | 926 | | |
929 | 927 | | |
930 | 928 | | |
| |||
933 | 931 | | |
934 | 932 | | |
935 | 933 | | |
936 | | - | |
937 | 934 | | |
938 | 935 | | |
939 | 936 | | |
| |||
1019 | 1016 | | |
1020 | 1017 | | |
1021 | 1018 | | |
1022 | | - | |
| 1019 | + | |
1023 | 1020 | | |
1024 | 1021 | | |
1025 | 1022 | | |
| |||
1041 | 1038 | | |
1042 | 1039 | | |
1043 | 1040 | | |
1044 | | - | |
| 1041 | + | |
1045 | 1042 | | |
1046 | 1043 | | |
1047 | 1044 | | |
| |||
1481 | 1478 | | |
1482 | 1479 | | |
1483 | 1480 | | |
1484 | | - | |
| 1481 | + | |
| 1482 | + | |
| 1483 | + | |
1485 | 1484 | | |
1486 | 1485 | | |
1487 | 1486 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
205 | | - | |
206 | | - | |
207 | | - | |
| 205 | + | |
208 | 206 | | |
209 | 207 | | |
210 | 208 | | |
| |||
837 | 835 | | |
838 | 836 | | |
839 | 837 | | |
840 | | - | |
841 | 838 | | |
842 | 839 | | |
843 | 840 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
878 | 878 | | |
879 | 879 | | |
880 | 880 | | |
881 | | - | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
882 | 885 | | |
883 | 886 | | |
884 | 887 | | |
| |||
890 | 893 | | |
891 | 894 | | |
892 | 895 | | |
| 896 | + | |
| 897 | + | |
893 | 898 | | |
894 | 899 | | |
895 | 900 | | |
| |||
1239 | 1244 | | |
1240 | 1245 | | |
1241 | 1246 | | |
1242 | | - | |
| 1247 | + | |
1243 | 1248 | | |
1244 | 1249 | | |
1245 | 1250 | | |
| |||
2246 | 2251 | | |
2247 | 2252 | | |
2248 | 2253 | | |
2249 | | - | |
| 2254 | + | |
2250 | 2255 | | |
2251 | 2256 | | |
2252 | 2257 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | 4 | | |
7 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
8 | 9 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
| 10 | + | |
35 | 11 | | |
36 | | - | |
37 | | - | |
| 12 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
| 27 | + | |
41 | 28 | | |
42 | | - | |
43 | | - | |
| 29 | + | |
0 commit comments