Skip to content

adjust transmute const stabilization version - #97269

Merged
bors merged 1 commit into
rust-lang:masterfrom
RalfJung:transmute
Jun 21, 2022
Merged

adjust transmute const stabilization version#97269
bors merged 1 commit into
rust-lang:masterfrom
RalfJung:transmute

Conversation

@RalfJung

@RalfJungRalfJung commented May 22, 2022

Copy link
Copy Markdown
Member

With 1.46, this became callable only in const/static items.

Only since 1.56 is this callable in const fn: changelog

Also see Zulip discussion.

@rust-highfive

Copy link
Copy Markdown
Contributor

Hey! It looks like you've submitted a new PR for the library teams!

If this PR contains changes to any rust-lang/rust public library APIs then please comment with r? rust-lang/libs-api @rustbot label +T-libs-api -T-libs to request review from a libs-api team reviewer. If you're unsure where your change falls no worries, just leave it as is and the reviewer will take a look and make a decision to forward on if necessary.

Examples of T-libs-api changes:

  • Stabilizing library features
  • Introducing insta-stable changes such as new implementations of existing stable traits on existing stable types
  • Introducing new or changing existing unstable library APIs (excluding permanently unstable features / features without a tracking issue)
  • Changing public documentation in ways that create new stability guarantees
  • Changing observable runtime behavior of library APIs

@rustbotrustbot added the T-libs Relevant to the library team, which will review and decide on the PR/issue. label May 22, 2022
@rust-highfive

Copy link
Copy Markdown
Contributor

r? @m-ou-se

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 22, 2022
@RalfJung

Copy link
Copy Markdown
MemberAuthor

r? rust-lang/libs-api @rustbot label +T-libs-api -T-libs

@rustbotrustbot added T-libs-api [DEPRECATED; DO NOT USE] and removed T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Jun 3, 2022
@RalfJung

Copy link
Copy Markdown
MemberAuthor

r? rust-lang/libs-api

@m-ou-se

Copy link
Copy Markdown
Member

@bors r+ rollup

@bors

bors commented Jun 21, 2022

Copy link
Copy Markdown
Collaborator

📌 Commit 4505579 has been approved by m-ou-se

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jun 21, 2022
@JohnTitorJohnTitor mentioned this pull request Jun 21, 2022
bors added a commit to rust-lang-ci/rust that referenced this pull request Jun 21, 2022
Rollup of 11 pull requests
Successful merges:
- rust-lang#94033 (Improve docs for `is_running` to explain use case)
- rust-lang#97269 (adjust transmute const stabilization version)
- rust-lang#97805 (Add proper tracing spans to rustc_trait_selection::traits::error_reporting)
- rust-lang#98022 (Fix erroneous span for borrowck error)
- rust-lang#98124 (Improve loading of crates.js and sidebar-items.js)
- rust-lang#98278 (Some token stream cleanups)
- rust-lang#98306 (`try_fold_unevaluated` for infallible folders)
- rust-lang#98313 (Remove lies in comments.)
- rust-lang#98323 (:arrow_up: rust-analyzer)
- rust-lang#98329 (Avoid an ICE and instead let the compiler report a useful error)
- rust-lang#98330 (update ioslice docs to use shared slices)
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
@bors
bors merged commit b20aff2 into rust-lang:masterJun 21, 2022
@rustbotrustbot added this to the 1.63.0 milestone Jun 21, 2022
@RalfJung
RalfJung deleted the transmute branch June 21, 2022 23:30
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-libs-api[DEPRECATED; DO NOT USE]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@RalfJung@rust-highfive@m-ou-se@bors@joshtriplett@rustbot