mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-04 22:17:38 +00:00
![]() Reuse the MIR validator for MIR inlining Instead of having the inliner home-cook its own validation, we just check that the substituted MIR body passes the regular validation. The MIR validation is first split in two: control flow validation (MIR syntax and CFG invariants) and type validation (subtyping relationship in assignments and projections). Only the latter can be affected by instantiating type parameters. |
||
---|---|---|
.. | ||
const_eval | ||
interpret | ||
transform | ||
util | ||
errors.rs | ||
lib.rs |