-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Fix ICE in assertion macro #50474
Fix ICE in assertion macro #50474
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
cc @rust-lang/compiler Could someone review this? It's a beta regression which needs to be backported in the next ~36 hours or so if it's to be in time... |
@bors: r+ p=4 |
📌 Commit 39df223 has been approved by |
Added this PR to #50478. |
Fix ICE in assertion macro Fixes #50471. Needs beta-backport (stable-to-beta/nightly regression). * `panic` with single argument does not need escaping `{` and `}` * Instead of unescaping `\u{...}` manually, just use `escape_debug` in pprust
cc @nnethercote |
☀️ Test successful - status-appveyor, status-travis |
[beta] Process backports * #50419: rustdoc: Resolve nested `impl Trait`s * #50474: Fix ICE in assertion macro r? @Mark-Simulacrum
Fixes #50471. Needs beta-backport (stable-to-beta/nightly regression).
panic
with single argument does not need escaping{
and}
\u{...}
manually, just useescape_debug
in pprust