-
Notifications
You must be signed in to change notification settings - Fork 196
Require interned structs' fields to be Update
#1036
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
Conversation
✅ Deploy Preview for salsa-rs canceled.
|
b2989cc to
fb38d5a
Compare
CodSpeed Performance ReportMerging #1036 will not alter performanceComparing Summary
|
|
Does this fix #985 Can we add two non-compile tests:
|
Yes.
I added them as one, except storing a lifetime'd struct instead of a reference. |
MichaReiser
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you
fb38d5a to
eaeff14
Compare
To fix an unsoundness - salsa-rs#985. There are two breaking changes here: 1. Interned fields and interned function fields are required to be `Update` (or `'static`) 2. `unsafe(non_update_return_types)` in tracked fn options was renamed to `unsafe(non_update_types)` (and includes interned parameters as well now).
eaeff14 to
0f5be17
Compare
|
Addressed comments. |
|
Can we get a release with this please? It's needed for rust-analyzer. |
To fix an unsoundness - #985.
There are two breaking changes here:
Update(or'static)unsafe(non_update_return_types)in tracked fn options was renamed tounsafe(non_update_types)(and includes interned parameters as well now).Fixes #985.