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

Replaced many instances of reinterpret_cast with transmute #5979

Merged
merged 1 commit into from
Apr 20, 2013

Conversation

Thiez
Copy link
Contributor

@Thiez Thiez commented Apr 20, 2013

As the name suggests this replaces many instances of cast::reinterpret_cast by cast::transmute. It's essentially the boring part of fixing #5163, the remaining reinterpret_casts should be more tricky to remove (unless I missed a boring case).

r? @catamorphism

bors added a commit that referenced this pull request Apr 20, 2013
As the name suggests this replaces many instances of cast::reinterpret_cast by cast::transmute. It's essentially the boring part of fixing #5163, the remaining reinterpret_casts should be more tricky to remove (unless I missed a boring case).

r? @catamorphism
@bors bors closed this Apr 20, 2013
@bors bors merged commit 51a68eb into rust-lang:incoming Apr 20, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Sep 10, 2020
…tem_push, r=ebroto

Fix FP in `same_item_push`

Don't emit a lint when the pushed item doesn't have Clone trait

Fix rust-lang#5979

changelog: Fix FP in `same_item_push` not to emit a lint when the pushed item doesn't have Clone trait
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