-
Notifications
You must be signed in to change notification settings - Fork 13.8k
Return opaque type from PanicInfo::message() #126330
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
Conversation
9fb1234
to
730f17e
Compare
☔ The latest upstream changes (presumably #126332) made this pull request unmergeable. Please resolve the merge conflicts. |
r=me once conflicts are resolved |
730f17e
to
6c2507c
Compare
@bors r=Amanieu |
☀️ Test successful - checks-actions |
Finished benchmarking commit (f873ae0): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)This benchmark run did not return any relevant results for this metric. CyclesResults (secondary 2.4%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeResults (secondary 0.0%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Bootstrap: 670.264s -> 670.725s (0.07%) |
This changes the return type of the (unstable) PanicInfo::message() method to an opaque type (that implements Display). This allows for a bit more flexibility in the future.
See #66745