rust/compiler/rustc_typeck
Esteban Küber 3eb454aabe 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-17 20:44:00 -08: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.