-
Notifications
You must be signed in to change notification settings - Fork 13.4k
panic::Location
Debug
implementation now prints a byte array
#142279
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
Comments
Cc @m-ou-se from the review ^ |
FYI, I was continuing to work on #142216 and wanted to make proposals based on after this change, so I merged it in, and, this might be a small issue but I noticed that backslashes in the path are printed twice on Windows (this has
Without this change at HEAD, if you look at the bytes printed there is one backslash (92) in the byte array:
|
@nealsid isn't that the same way it printed before the regression to printing bytes? Usually the |
…ss35 Fix Debug for Location Fixes rust-lang#142279
Fix Debug for Location Fixes rust-lang/rust#142279
Uh oh!
There was an error while loading. Please reload this page.
Since #135054, the
Debug
implementation forstd::panic::Location
just prints the byte bag:Stable:
Nightly:
https://play.rust-lang.org/?version=nightly&mode=debug&edition=2024&gist=698066c5427dd43cb12df0d2fb5b9300
Originally noticed at #142216.
The text was updated successfully, but these errors were encountered: