-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Tracking issue for release notes of #125834: treat &raw (const|mut) UNSAFE_STATIC
implied deref as safe
#129578
Comments
Hi. I feel my PR title was very "inside baseball" terminology, and what should go into the compatibility notes might be more like one of these:
Possible release blog text by author of PR if you wish to note it in the release blog (whether this is appropriate or not is between you and T-compiler imo). You may wish to work it in with the Taking the address of an
|
That's not right, Only |
T-compiler reviewed during the weekly triage meeting. We decided to go with a modification of @workingjubilee's first suggestion, tweaking to highlight this also affects I think if there's room in the blog post and T-release wants to include it, the above content elaborating on the changes would be a great addition. We've had some churn around Thank you @workingjubilee and @RalfJung for drafting that! |
Ah okay! Then I think what I said there could instead be just "A future version of Rust is expected to generalize this to other expressions where it's actually-safe, not just ones with statics as operands." |
Also I should note that I only included the "we'll generalize this later" remark, fwiw, because "huh, wouldn't that apply to other expressions?" was like basically the third thing everyone said while considering the PR I made, and because compiler-errors already has the PR up. :^) |
This issue tracks the release notes text for #125834.
Release notes text:
The section title will be de-duplicated by the release team with other release notes issues.
Prefer to use the standard titles from previous releases.
More than one section can be included if needed.
Release blog section (if any, leave blank if no section is expected):
The text was updated successfully, but these errors were encountered: