os-rust/compiler/rustc_typeck
Eric Holk aa029d4bbe Support conditional drops
This adds support for branching and merging control flow and uses this
to correctly handle the case where a value is dropped in one branch of
an if expression but not another.

There are other cases we need to handle, which will come in follow up
patches.

Issue #57478
2022-01-18 14:25:24 -08:00
..
src Support conditional drops 2022-01-18 14:25:24 -08:00
Cargo.toml Support conditional drops 2022-01-18 14:25:24 -08:00
README.md mv compiler to compiler/ 2020-08-30 18:45:07 +03:00

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