-
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
Stabilize {slice,array}::from_ref
#97366
Stabilize {slice,array}::from_ref
#97366
Conversation
Hey! It looks like you've submitted a new PR for the library teams! If this PR contains changes to any Examples of
|
@rustbot label -T-libs |
@bors r+ |
📌 Commit 7a09b8a has been approved by |
Rollup of 5 pull requests Successful merges: - rust-lang#97366 (Stabilize `{slice,array}::from_ref`) - rust-lang#97653 (add cast kind of from_exposed_addr (int-to-ptr casts)) - rust-lang#97663 (take back half-baked noaliasing check in Assignment) - rust-lang#97664 (On E0204 suggest missing type param bounds) - rust-lang#97668 (rustdoc: clean up primitive.slice.html links) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
This PR stabilizes the following APIs as
const
functions in Rust1.63
:Note that the
mut
versions are not stabilized as unique references (&mut _
) are unstable in const context.FCP: #90206 (comment)
r? rust-lang/libs-api @rustbot label +T-libs-api -T-libs