You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cjgillot opened this issue
Jul 9, 2023
· 1 comment
Assignees
Labels
A-MIRArea: Mid-level IR (MIR) - https://blog.rust-lang.org/2016/04/19/MIR.htmlT-langRelevant to the language team, which will review and decide on the PR/issue.
Before #107844, assignments of Drop types were modeled using replaced the DropAndReplace MIR terminator. That PR changed the behaviour to use a plain Drop followed by a plain Assign.
A-MIRArea: Mid-level IR (MIR) - https://blog.rust-lang.org/2016/04/19/MIR.htmlT-langRelevant to the language team, which will review and decide on the PR/issue.
Before #107844, assignments of
Drop
types were modeled using replaced theDropAndReplace
MIR terminator. That PR changed the behaviour to use a plainDrop
followed by a plainAssign
.This made more code compile, for instance (#107844 (comment)):
Steps:
The text was updated successfully, but these errors were encountered: