rust/compiler/rustc_typeck
Dylan DPC c244546626
Rollup merge of #82245 - estebank:issue-78653, r=matthewjasper
Do not ICE when evaluating locals' types of invalid `yield`

When a `yield` is outside of a generator, check its value regardless to
avoid an ICE while trying to get all locals' types in writeback.

Fix #78653.
2021-02-19 02:49:09 +01:00
..
2021-02-14 18:03:11 +03:00

For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.