mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 18:15:07 +03:00
Demangle curly braces
They show up in things like fn(&std..panic..PanicInfo<'_>) $u7b$hook$u7d$::fn_pointer_shim.8352::h01f889b2277c719d
This commit is contained in:
@@ -170,7 +170,9 @@ macro_rules! demangle {
|
||||
"$u20$", => b" ",
|
||||
"$u27$", => b"'",
|
||||
"$u5b$", => b"[",
|
||||
"$u5d$", => b"]"
|
||||
"$u5d$", => b"]",
|
||||
"$u7b$", => b"{",
|
||||
"$u7d$", => b"}"
|
||||
)
|
||||
} else {
|
||||
let idx = match rest.find('$') {
|
||||
|
||||
Reference in New Issue
Block a user