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

Adjust tests for funciton pointer changes #576

Merged
merged 1 commit into from
Dec 18, 2018
Merged

Adjust tests for funciton pointer changes #576

merged 1 commit into from
Dec 18, 2018

Conversation

oli-obk
Copy link
Contributor

@oli-obk oli-obk commented Dec 17, 2018

So... This is how we'd have to change the tests if we're keeping with main as fn() != main as fn(). If we want the original behaviour back in miri, but not const eval, I can also change our comparison code to special case function pointers.

@RalfJung
Copy link
Member

Seems reasonable to me, thanks!

@RalfJung RalfJung merged commit 1dd6cc3 into rustup2 Dec 18, 2018
@RalfJung RalfJung deleted the rustup3 branch December 19, 2018 10:13
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