Skip to content
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

Do not fire panic in a constant environment #8592

Merged
merged 2 commits into from
Mar 30, 2022
Merged

Conversation

c410-f3r
Copy link
Contributor

@c410-f3r c410-f3r commented Mar 26, 2022

Let rustc handle panics in constant environments.

Since #8348 I thought that such modification would require a lot of work but thanks to #8588 I now know that it is not the case.

changelog: [panic]: No longer lint in constant context. rustc already handles this.

@rust-highfive
Copy link

r? @giraffate

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

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Mar 26, 2022
@flip1995
Copy link
Member

Added changelog: line to PR body.

@bors r+

Thanks!

@bors
Copy link
Collaborator

bors commented Mar 29, 2022

📌 Commit af8ed04 has been approved by flip1995

@bors
Copy link
Collaborator

bors commented Mar 30, 2022

⌛ Testing commit af8ed04 with merge 0031f69...

@bors
Copy link
Collaborator

bors commented Mar 30, 2022

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: flip1995
Pushing 0031f69 to master...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants