Commit 893b6f6
authored
Rollup merge of rust-lang#119239 - compiler-errors:yield-coercion, r=davidtwco
Remove unnecessary arm in `check_expr_yield`
We always set up the `resume_yield_tys` for async blocks and fns, so this arm was unreachable.2 files changed
+1
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2110 | 2110 | | |
2111 | 2111 | | |
2112 | 2112 | | |
2113 | | - | |
2114 | | - | |
2115 | | - | |
2116 | | - | |
2117 | | - | |
2118 | | - | |
2119 | 2113 | | |
2120 | 2114 | | |
2121 | 2115 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
349 | 349 | | |
350 | 350 | | |
351 | 351 | | |
352 | | - | |
| 352 | + | |
353 | 353 | | |
354 | 354 | | |
355 | 355 | | |
| |||
3162 | 3162 | | |
3163 | 3163 | | |
3164 | 3164 | | |
3165 | | - | |
3166 | 3165 | | |
3167 | 3166 | | |
3168 | 3167 | | |
3169 | 3168 | | |
3170 | 3169 | | |
3171 | 3170 | | |
3172 | 3171 | | |
3173 | | - | |
3174 | | - | |
3175 | | - | |
3176 | | - | |
3177 | | - | |
3178 | | - | |
3179 | | - | |
3180 | | - | |
3181 | 3172 | | |
3182 | 3173 | | |
3183 | 3174 | | |
| |||
0 commit comments