-
Notifications
You must be signed in to change notification settings - Fork 347
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
Stack borrows: weak protectors #2684
Stack borrows: weak protectors #2684
Conversation
See rust-lang/unsafe-code-guidelines#377 for a conceptual description of this change. |
At least the liballoc tests all this pass with this patch. I doubt there will be a lot of breakage out there, but I guess @saethlin will see. ;) |
I'm happy with the implementation. Thanks for cleaning up all the unnecessary mutability along the way. |
@bors r=saethlin |
☀️ Test successful - checks-actions |
1 similar comment
☀️ Test successful - checks-actions |
This addresses the issue described in rust-lang/unsafe-code-guidelines#376.