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

std: Fix implementation of Alloc::alloc_one #42901

Merged
merged 1 commit into from
Jun 29, 2017

Conversation

alexcrichton
Copy link
Member

This had an accidental u8 as *mut T where it was intended to have just a
normal pointer-to-pointer cast.

Closes #42827

This had an accidental `u8 as *mut T` where it was intended to have just a
normal pointer-to-pointer cast.

Closes rust-lang#42827
@sfackler
Copy link
Member

We should really have a lint for those kinds of casts :(

@sfackler
Copy link
Member

@bors r+

@bors
Copy link
Contributor

bors commented Jun 25, 2017

📌 Commit d24d408 has been approved by sfackler

@carols10cents carols10cents added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Jun 26, 2017
@Mark-Simulacrum
Copy link
Member

@bors rollup

Mark-Simulacrum added a commit to Mark-Simulacrum/rust that referenced this pull request Jun 28, 2017
std: Fix implementation of `Alloc::alloc_one`

This had an accidental `u8 as *mut T` where it was intended to have just a
normal pointer-to-pointer cast.

Closes rust-lang#42827
frewsxcv added a commit to frewsxcv/rust that referenced this pull request Jun 29, 2017
std: Fix implementation of `Alloc::alloc_one`

This had an accidental `u8 as *mut T` where it was intended to have just a
normal pointer-to-pointer cast.

Closes rust-lang#42827
arielb1 pushed a commit to arielb1/rust that referenced this pull request Jun 29, 2017
std: Fix implementation of `Alloc::alloc_one`

This had an accidental `u8 as *mut T` where it was intended to have just a
normal pointer-to-pointer cast.

Closes rust-lang#42827
bors added a commit that referenced this pull request Jun 29, 2017
Rollup of 12 pull requests

- Successful merges: #42219, #42831, #42832, #42884, #42886, #42901, #42919, #42920, #42946, #42953, #42955, #42958
- Failed merges:
@bors bors merged commit d24d408 into rust-lang:master Jun 29, 2017
@alexcrichton alexcrichton deleted the alloc-one branch July 24, 2017 23:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants