Skip to content

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
Collaborator

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