Skip to content

Remove reinterpret_cast #6158

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

Closed
bstrie opened this issue May 1, 2013 · 2 comments
Closed

Remove reinterpret_cast #6158

bstrie opened this issue May 1, 2013 · 2 comments

Comments

@bstrie
Copy link
Contributor

bstrie commented May 1, 2013

I'm pretty sure that reinterpret_cast has been deprecated in favor of transmute for a long time now. Convert all uses of reinterpret_cast to transmute and remove the former.

@Thiez
Copy link
Contributor

Thiez commented May 1, 2013

Dupe of #5163 ?

@bstrie
Copy link
Contributor Author

bstrie commented May 2, 2013

Indeed, closing.

@bstrie bstrie closed this as completed May 2, 2013
bors added a commit to rust-lang-ci/rust that referenced this issue Oct 24, 2020
… r=phansch

Remove the generated files by `update-references.sh` if they are empty

An empty file may be generated by `update-references.sh` and committed as is when creating a patch like rust-lang/rust-clippy#6101 (comment) and rust-lang/rust-clippy#6079 (review). So, I think it would be helpful to add documentation, and automatically remove the generated file if it's empty.

changelog: none
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

No branches or pull requests

2 participants