Stabilize const_panic by jhpratt · Pull Request #89508 · rust-lang/rust (original) (raw)

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 andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation9 Commits1 Checks0 Files changed

Conversation

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

jhpratt

Closes #51999

FCP completed in #89006

@rustbot label +A-const-eval +A-const-fn +T-lang

cc @oli-obk for review (not r?'ing as not on lang team)

stepancheg and toku-sa-n reacted with thumbs up emoji oli-obk, RalfJung, slanterns, raftario, nbdd0121, Aaron1011, yvt, camelid, crawford, therealprof, and 14 more reacted with hooray emoji

@rustbot rustbot added the T-lang

Relevant to the language team, which will review and decide on the PR/issue.

label

Oct 4, 2021

@rust-highfive

r? @jackh726

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

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@joshtriplett

Since the FCP has already completed, r=me when CI passes.

@jhpratt

Sounds good.

@rustbot label -S-waiting-on-review +S-waiting-on-author

@rustbot rustbot added S-waiting-on-author

Status: This is awaiting some action (such as code changes or more information) from the author.

and removed S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

labels

Oct 4, 2021

@jhpratt

@joshtriplett joshtriplett added the relnotes

Marks issues that should be documented in the release notes of the next release.

label

Oct 4, 2021

@jhpratt

@bors

@jhpratt: 🔑 Insufficient privileges: Not in reviewers

@joshtriplett

@bors

📌 Commit bce8621 has been approved by joshtriplett

@bors bors 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-author

Status: This is awaiting some action (such as code changes or more information) from the author.

labels

Oct 4, 2021

Manishearth added a commit to Manishearth/rust that referenced this pull request

Oct 4, 2021

@Manishearth

…shtriplett

Stabilize const_panic

Closes rust-lang#51999

FCP completed in rust-lang#89006

@rustbot label +A-const-eval +A-const-fn +T-lang

cc @oli-obk for review (not r?'ing as not on lang team)

Manishearth added a commit to Manishearth/rust that referenced this pull request

Oct 4, 2021

@Manishearth

…shtriplett

Stabilize const_panic

Closes rust-lang#51999

FCP completed in rust-lang#89006

@rustbot label +A-const-eval +A-const-fn +T-lang

cc @oli-obk for review (not r?'ing as not on lang team)

bors added a commit to rust-lang-ci/rust that referenced this pull request

Oct 4, 2021

@bors

…ingjubilee

Rollup of 13 pull requests

Successful merges:

Failed merges:

r? @ghost @rustbot modify labels: rollup

@jhpratt jhpratt deleted the stabilize-const_panic branch

October 5, 2021 00:25

Thomasdezeeuw added a commit to Thomasdezeeuw/heph that referenced this pull request

Oct 9, 2021

@Thomasdezeeuw

Thomasdezeeuw added a commit to Thomasdezeeuw/heph that referenced this pull request

Oct 9, 2021

@Thomasdezeeuw

JohnTitor added a commit to JohnTitor/rust that referenced this pull request

Oct 15, 2021

@JohnTitor

…_unchecked, r=oli-obk

Stabilize unreachable_unchecked as const fn

Closes rust-lang#53188

This PR stabilizes core::hint::unreachable_unchecked as const fn. MIRI is able to detect when this method is called. Stabilization was delayed until const_panic was stabilized so as to avoid users calling this method in its place (thus resulting in runtime UB). With rust-lang#89508, that is no longer an issue.

@rustbot label +A-const-eval +A-const-fn +T-lang +S-blocked

(not sure why it's T-lang, but that's what the tracking issue is)

matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request

Oct 15, 2021

@matthiaskrgr

…_unchecked, r=oli-obk

Stabilize unreachable_unchecked as const fn

Closes rust-lang#53188

This PR stabilizes core::hint::unreachable_unchecked as const fn. MIRI is able to detect when this method is called. Stabilization was delayed until const_panic was stabilized so as to avoid users calling this method in its place (thus resulting in runtime UB). With rust-lang#89508, that is no longer an issue.

@rustbot label +A-const-eval +A-const-fn +T-lang +S-blocked

(not sure why it's T-lang, but that's what the tracking issue is)

matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request

Oct 15, 2021

@matthiaskrgr

…_unchecked, r=oli-obk

Stabilize unreachable_unchecked as const fn

Closes rust-lang#53188

This PR stabilizes core::hint::unreachable_unchecked as const fn. MIRI is able to detect when this method is called. Stabilization was delayed until const_panic was stabilized so as to avoid users calling this method in its place (thus resulting in runtime UB). With rust-lang#89508, that is no longer an issue.

@rustbot label +A-const-eval +A-const-fn +T-lang +S-blocked

(not sure why it's T-lang, but that's what the tracking issue is)

jackh726 added a commit to jackh726/rust that referenced this pull request

Oct 16, 2021

@jackh726

…_unchecked, r=oli-obk

Stabilize unreachable_unchecked as const fn

Closes rust-lang#53188

This PR stabilizes core::hint::unreachable_unchecked as const fn. MIRI is able to detect when this method is called. Stabilization was delayed until const_panic was stabilized so as to avoid users calling this method in its place (thus resulting in runtime UB). With rust-lang#89508, that is no longer an issue.

@rustbot label +A-const-eval +A-const-fn +T-lang +S-blocked

(not sure why it's T-lang, but that's what the tracking issue is)

matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request

Oct 16, 2021

@matthiaskrgr

…_unchecked, r=oli-obk

Stabilize unreachable_unchecked as const fn

Closes rust-lang#53188

This PR stabilizes core::hint::unreachable_unchecked as const fn. MIRI is able to detect when this method is called. Stabilization was delayed until const_panic was stabilized so as to avoid users calling this method in its place (thus resulting in runtime UB). With rust-lang#89508, that is no longer an issue.

@rustbot label +A-const-eval +A-const-fn +T-lang +S-blocked

(not sure why it's T-lang, but that's what the tracking issue is)

@ojeda ojeda mentioned this pull request

Oct 16, 2021

95 tasks

@est31 est31 mentioned this pull request

Nov 6, 2021

5 tasks

wip-sync pushed a commit to NetBSD/pkgsrc-wip that referenced this pull request

Dec 6, 2021

@he32

netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this pull request

Jan 22, 2022

@he32

@ehuss ehuss mentioned this pull request

Sep 11, 2022

@est31 est31 mentioned this pull request

Sep 19, 2022

@gendx gendx mentioned this pull request

Oct 31, 2022

Labels

A-const-eval

Area: Constant evaluation, covers all const contexts (static, const fn, ...)

relnotes

Marks issues that should be documented in the release notes of the next release.

S-waiting-on-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

T-lang

Relevant to the language team, which will review and decide on the PR/issue.