Commit 233f832
committed
Replace complicated hir access with tcx.coroutine_kind
1 parent 4762f92 commit 233f832
File tree
2 files changed
+3
-14
lines changed- compiler/rustc_trait_selection/src/error_reporting/infer
2 files changed
+3
-14
lines changedLines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1836 | 1836 | | |
1837 | 1837 | | |
1838 | 1838 | | |
1839 | | - | |
1840 | 1839 | | |
1841 | 1840 | | |
1842 | | - | |
| 1841 | + | |
1843 | 1842 | | |
1844 | 1843 | | |
1845 | 1844 | | |
| |||
Lines changed: 2 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | | - | |
163 | 162 | | |
164 | 163 | | |
165 | 164 | | |
| |||
169 | 168 | | |
170 | 169 | | |
171 | 170 | | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
| 171 | + | |
| 172 | + | |
183 | 173 | | |
184 | 174 | | |
185 | 175 | | |
| |||
0 commit comments