mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 09:13:07 +03:00
a1c65db95c
explain a good reason for why LocalValue does not store the type of the local As found out by `@lcnr` in https://github.com/rust-lang/rust/pull/112307, storing the type here can lead to subtle bugs when it gets out of sync with the MIR body. That's not the reason why the interpreter does it this way I think, but good thing we dodged that bullet. :)