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

be pragmatic about ptr-int comparisons, for now #691

Merged
merged 2 commits into from
Apr 16, 2019

Conversation

RalfJung
Copy link
Member

Allow comparing "real" pointers with whatever gets returned from NonNull::dangling (and make it not equal). Such comparisons regularly arise in real code, so this makes Miri more useful.

@oli-obk what do you think?
We should revisit this once #224 is done.

@oli-obk oli-obk merged commit f6fef3b into rust-lang:master Apr 16, 2019
@RalfJung RalfJung deleted the pragmatic-ptr-eq branch May 4, 2019 09:27
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.

2 participants