Skip to content

Adjust tests for funciton pointer changes#576

Merged
RalfJung merged 1 commit intorustup2from
rustup3
Dec 18, 2018
Merged

Adjust tests for funciton pointer changes#576
RalfJung merged 1 commit intorustup2from
rustup3

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