-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
regression: pointer functions not yet stable as const fn #123284
Comments
Docs indicate these aren't const-stable (e.g., https://doc.rust-lang.org/nightly/std/primitive.pointer.html#method.copy_to_nonoverlapping-1 has |
IIUC these were intentionally destabilized by #117905, which was merged after 1.77 branched but before 1.78 branched. Yeah, they were const-stable in 1.77.1 https://doc.rust-lang.org/1.77.1/std/primitive.pointer.html#method.copy_to_nonoverlapping-1 but no longer are. |
I see. The vast majority of the regressions seem to still be bnum (likely mostly due to Crater not bumping the lockfiles for committed lockfiles). It seems like this is pretty similar in spirit to #123285 where we're mostly just detecting a bunch of new UB now (just via de-stabilization). I think that means we're likely to move forward here but will want to call this out in release notes. |
Closing as this was a deliberate de-stabilization. #80697 tracks this now-again-unstable feature. |
non-bnum cases:
The text was updated successfully, but these errors were encountered: