Skip to content

Remove transmute from btree::node::Node::as_slices_internal_mut#27624

Merged
bors merged 1 commit into
rust-lang:masterfrom
apasel422:issue-27620
Aug 18, 2015
Merged

Remove transmute from btree::node::Node::as_slices_internal_mut#27624
bors merged 1 commit into
rust-lang:masterfrom
apasel422:issue-27620

Conversation

@apasel422
Copy link
Copy Markdown
Contributor

Closes #27620.

@rust-highfive
Copy link
Copy Markdown
Contributor

r? @aturon

(rust_highfive has picked a reviewer for you, use r? to override)

@apasel422
Copy link
Copy Markdown
Contributor Author

r? @gankro

@rust-highfive rust-highfive assigned Gankra and unassigned aturon Aug 10, 2015
@apasel422 apasel422 changed the title Remove transmutes from btree Remove unnecessary transmutes from libcollections Aug 10, 2015
Comment thread src/libcollections/btree/node.rs Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think this might be losing aliasing information in LLVM.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Any suggestions?

@alexcrichton
Copy link
Copy Markdown
Member

cc #27252, there's a bit of duplication between these two

@bors
Copy link
Copy Markdown
Collaborator

bors commented Aug 10, 2015

☔ The latest upstream changes (presumably #27252) made this pull request unmergeable. Please resolve the merge conflicts.

@apasel422
Copy link
Copy Markdown
Contributor Author

Rebased.

@apasel422 apasel422 changed the title Remove unnecessary transmutes from libcollections Remove transmute from btree::node::Node::as_slices_internal_mut Aug 10, 2015
@apasel422
Copy link
Copy Markdown
Contributor Author

Does this need any further changes?

@Gankra
Copy link
Copy Markdown
Contributor

Gankra commented Aug 18, 2015

Oh whoops, I thought this has been accepted.

@bors r+

@bors
Copy link
Copy Markdown
Collaborator

bors commented Aug 18, 2015

📌 Commit 28d5d2f has been approved by Gankro

@bors
Copy link
Copy Markdown
Collaborator

bors commented Aug 18, 2015

⌛ Testing commit 28d5d2f with merge 6c11e4a...

bors added a commit that referenced this pull request Aug 18, 2015
@bors bors merged commit 28d5d2f into rust-lang:master Aug 18, 2015
@apasel422 apasel422 deleted the issue-27620 branch August 18, 2015 20:14
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.

7 participants