-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Split core's PanicInfo and std's PanicInfo #115974
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
Merged
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
e3e8153
Split core's PanicInfo and std's PanicInfo.
m-ou-se a519dc8
Document difference between core and std's PanicInfo.
m-ou-se 16dfc6d
Add core::panic::PanicInfo::payload() for compatibility.
m-ou-se 331b8a3
Fix doc link.
m-ou-se 83dd214
Update doc comment about core::panicking.
m-ou-se 0266bbf
Remove core::panic::PanicInfo::internal_constructor.
m-ou-se 0642cb2
Remove std::panic::PanicInfo::internal_constructor+set_payload.
m-ou-se 0087d89
Mark some PanicInfo methods as #[inline] for consistency.
m-ou-se 4e356f3
Move downcasting panic payload to str to a function.
m-ou-se 22f7399
Use unnamed lifetimes for [..]Payload impl blocks.
m-ou-se 1642de3
Impl Display for PanicPayload to simplify things.
m-ou-se bab26b0
Reorder body of begin_panic for consistency.
m-ou-se 6b2d7c4
Fix invalid markdown/html.
m-ou-se b6180a9
Formatting.
m-ou-se 64e56db
Rename std::panic::PanicInfo to PanicHookInfo.
m-ou-se 3854357
Fix deprecation version.
m-ou-se f5fe82f
Move deprecation of std::panic::PanicInfo to 1.80.0.
m-ou-se ce0bc8b
Downcast panic payload to String too in example.
m-ou-se 32bfe70
Add note on panic payload type.
m-ou-se 877a26f
Mention core's PanicInfo in error.md.
m-ou-se fb0990d
Fix display of panic message in recursive panic.
m-ou-se de07c1a
Add PanicHookInfo::payload_as_str().
m-ou-se a345c3d
Bump deprecation of std's PanicInfo alias to 1.82.0.
m-ou-se a6e23b1
Formatting.
m-ou-se File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.