-
Notifications
You must be signed in to change notification settings - Fork 356
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
Stacked Borrows beautififcation, update for EscapeToRaw #524
Conversation
…ption for creating raw references
I have a blog post already written that I'd like to publish once this patch hits the miri on playground. So @oli-obk it'd be great if we could get this merged tomorrow, and then I will try to get @shepmaster to trigger a redeploy of the miri-on-playground so I don't have to wait another night. ;) |
Looks like I'll be the one waiting another night 😝 |
This should work against the currently nightly now, and hence is ready for landing. |
Travis is unhappy
|
Interesting, probably one of those test failures that only happen without full MIR? (The libstd then doesn't have retag/escape-to-raw.) |
Yeah, that's it. Quite a few tests though. I see two options:
|
A third option would be to make people pass |
Does the "no mir" case make sense for miri anymore at all? Can we just move to "get a libstd with full mir, sorry"? |
It still makes some sense without stacked borrows (but there is no switch to disable stacked borrows but keep validation enabled, and too many switches might also be confusing). Before dropping support for missing MIR, I'd like to have |
With these changes, the test suite passes without full MIR locally. Let's see what Travis says. |
Matches rust-lang/rust#55716 which has landed and should be in the next nightly.