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

Make std::panic!() identical to core::panic!() on Rust 2021 #80879

Closed
wants to merge 9 commits into from

Conversation

m-ou-se
Copy link
Member

@m-ou-se m-ou-se commented Jan 10, 2021

This makes std::panic!(..) identical to core::panic!(..) on edition 2012, by re-exporting core::panic::panic_2021 from std::panic.

This is blocked on #80846.

This change includes #80851 for now. I'll rebase this once that one is merged.

r? @ghost

@m-ou-se m-ou-se changed the title Std use core panic Make std::panic!() identical to core::panic!() on Rust 2021 Jan 10, 2021
@m-ou-se m-ou-se added T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Jan 10, 2021
@rust-log-analyzer

This comment has been minimized.

@bors
Copy link
Contributor

bors commented Jan 14, 2021

☔ The latest upstream changes (presumably #79328) made this pull request unmergeable. Please resolve the merge conflicts.

@petrochenkov
Copy link
Contributor

r? @petrochenkov

@petrochenkov
Copy link
Contributor

Blocked on #80851.

@petrochenkov petrochenkov added S-blocked Status: Marked as blocked ❌ on something else such as an RFC or other implementation work. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Jan 23, 2021
@m-ou-se
Copy link
Member Author

m-ou-se commented Jan 24, 2021

This is now included in #80851. Closing this.

@m-ou-se m-ou-se closed this Jan 24, 2021
@m-ou-se m-ou-se deleted the std-use-core-panic branch January 24, 2021 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-blocked Status: Marked as blocked ❌ on something else such as an RFC or other implementation work. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants