Skip to content
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

rename #[no_drop_flag] to #[unsafe_no_drop_flag] #7428

Closed
thestinger opened this issue Jun 27, 2013 · 1 comment
Closed

rename #[no_drop_flag] to #[unsafe_no_drop_flag] #7428

thestinger opened this issue Jun 27, 2013 · 1 comment
Labels
E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

Comments

@thestinger
Copy link
Contributor

Since it zeroes the whole struct regardless of the contained types, it's not safe. The fields can be accessed by safe code in the destructor. This is working as intended, but it should be more clear.

@thestinger
Copy link
Contributor Author

This is merged.

flip1995 pushed a commit to flip1995/rust that referenced this issue Jul 15, 2021
Fix use_self ICE

changelog: Fix ICE rust-lang#7423

r? `@flip1995`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant