-
Notifications
You must be signed in to change notification settings - Fork 13.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mem::forget docs: mention ManuallyDrop #66411
Conversation
r? @sfackler (rust_highfive has picked a reviewer for you, use r? to override) |
Maybe we should deprecate |
I was wondering the same thing but I am very far from sure that |
Deprecation warnings cause churn, so we should consider what we hope to gain in return. If most maintainers who see this warning only want to make it go away and literally replace If we want them to restructure their code to warp a value in |
Ping from triage |
@bors r+ |
📌 Commit 7009e6d has been approved by |
🌲 The tree is currently closed for pull requests below priority 10, this pull request will be tested once the tree is reopened |
mem::forget docs: mention ManuallyDrop Cc @SimonSapin @Centril
Rollup of 5 pull requests Successful merges: - #64856 (Scope format! temporaries) - #66411 (mem::forget docs: mention ManuallyDrop) - #66594 (Fix cycle when debug-printing opaque types) - #66641 (parser: recover on nested ADTs as enum variants) - #66659 (make `./x.py bench` again) Failed merges: r? @ghost
Cc @SimonSapin @Centril