interpreter: improve comments and error message in mir_assign_valid_types#155512
interpreter: improve comments and error message in mir_assign_valid_types#155512RalfJung wants to merge 1 commit intorust-lang:mainfrom
Conversation
|
r? @davidtwco rustbot has assigned @davidtwco. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
These commits modify the If this was unintentional then you should revert the changes before this PR is merged. Some changes occurred to MIR optimizations cc @rust-lang/wg-mir-opt |
4f96108 to
3e7a6e4
Compare
|
Strangely, codegen does not seem to see the same types as the interpreter / Miri. I can't reproduce the ICE there. |
|
Ah, transmute is implemented differently in codegen so we're not asking the It could still be worth checking |
5239e33 to
ec0f805
Compare
This comment has been minimized.
This comment has been minimized.
ec0f805 to
20d66f0
Compare
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
20d66f0 to
ab617ae
Compare
|
Given that |
I looked at this while debugging #155477, but this makes no progress on that issue.