Skip to content

Commit

Permalink
Auto merge of #118482 - RalfJung:interpret-local-type, r=WaffleLapkin
Browse files Browse the repository at this point in the history
explain a good reason for why LocalValue does not store the type of the local

As found out by `@lcnr` in rust-lang/rust#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. :)
  • Loading branch information
bors committed Dec 1, 2023
2 parents d083ce1 + 194eb2c commit 417a18a
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 417a18a

Please sign in to comment.