Skip to content

Retag as FnEntry on drop_in_place#103957

Merged
bors merged 4 commits intorust-lang:masterfrom
JakobDegen:drop-retag
Dec 22, 2022
Merged

Retag as FnEntry on drop_in_place#103957
bors merged 4 commits intorust-lang:masterfrom
JakobDegen:drop-retag

Conversation

@JakobDegen
Copy link
Contributor

@JakobDegen JakobDegen commented Nov 4, 2022

This commit changes the mir drop shim to always retag its argument as if it were a &mut.

cc rust-lang/unsafe-code-guidelines#373

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants