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

Replace uses of #[unsafe_destructor_blind_to_params] with #[may_dangle] #38664

Merged
merged 1 commit into from
Jan 10, 2017
Merged

Replace uses of #[unsafe_destructor_blind_to_params] with #[may_dangle] #38664

merged 1 commit into from
Jan 10, 2017

Conversation

apasel422
Copy link
Contributor

@@ -137,8 +137,7 @@ pub struct BTreeMap<K, V> {
}

#[stable(feature = "btree_drop", since = "1.7.0")]
impl<K, V> Drop for BTreeMap<K, V> {
#[unsafe_destructor_blind_to_params]
unsafe impl<#[may_dangle] K, #[may_dangle] V> Drop for BTreeMap<K, V> {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i can hear the complaints coming already... ;)

@pnkfelix
Copy link
Member

pnkfelix commented Jan 3, 2017

@bors r+ rollup

@bors
Copy link
Contributor

bors commented Jan 3, 2017

📌 Commit ca9b07b has been approved by pnkfelix

GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request Jan 4, 2017
Replace uses of `#[unsafe_destructor_blind_to_params]` with `#[may_dangle]`

CC rust-lang#34761

r? @pnkfelix
steveklabnik added a commit to steveklabnik/rust that referenced this pull request Jan 4, 2017
Replace uses of `#[unsafe_destructor_blind_to_params]` with `#[may_dangle]`

CC rust-lang#34761

r? @pnkfelix
sanxiyn added a commit to sanxiyn/rust that referenced this pull request Jan 10, 2017
Replace uses of `#[unsafe_destructor_blind_to_params]` with `#[may_dangle]`

CC rust-lang#34761

r? @pnkfelix
bors added a commit that referenced this pull request Jan 10, 2017
Rollup of 11 pull requests

- Successful merges: #38606, #38607, #38623, #38664, #38799, #38816, #38836, #38839, #38841, #38849, #38874
- Failed merges: #38845
@bors bors merged commit ca9b07b into rust-lang:master Jan 10, 2017
@apasel422 apasel422 deleted the may-dangle branch January 10, 2017 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants