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

&*x should crash if x is a null, unsafe ptr #3582

Closed
nikomatsakis opened this issue Sep 25, 2012 · 1 comment
Closed

&*x should crash if x is a null, unsafe ptr #3582

nikomatsakis opened this issue Sep 25, 2012 · 1 comment
Labels
A-codegen Area: Code generation E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Milestone

Comments

@nikomatsakis
Copy link
Contributor

Right now I think it does not crash, but later code should be able to rely that an &T ptr is never NULL

@nikomatsakis
Copy link
Contributor Author

Eh. C++ doesn't do this. Forget it.

bors pushed a commit to rust-lang-ci/rust that referenced this issue May 15, 2021
Use structopt for rustfmt-format-diff arguments parsing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-codegen Area: Code generation E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Projects
None yet
Development

No branches or pull requests

1 participant