-
Notifications
You must be signed in to change notification settings - Fork 352
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
Surprising impact of unused &mut #850
Comments
At first glance, this seems like a duplicate of rust-lang/unsafe-code-guidelines#133 -- could you verify? |
That seems possible. I'll do some experimentation. |
Closing as duplicate for now, feel free to reopen if you disagree. |
Is there a way to get miri to give a backtrace for the |
@saethlin is our 'making backtraces nicer' wizard so they might have an idea |
Yes, but also no. I spent a few hours hacking on this and I can't figure out how to stitch together enough state to figure out what the tag of that
|
The following code fails with miri
Commenting out
let m = &mut *b;
causes miri to succeed. I found this surprising as I wouldn't have expected let m = &mut *b; to have an effect.The text was updated successfully, but these errors were encountered: