about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/lib.rs
diff options
context:
space:
mode:
authorJonas Schievink <jonasschievink@gmail.com>2020-11-28 15:58:17 +0100
committerGitHub <noreply@github.com>2020-11-28 15:58:17 +0100
commit93d830ed50ada43ce3c7561d6f98dd3630a11cf9 (patch)
tree507dd9976c9ca2c47474c6e32e0eb24d905497e8 /compiler/rustc_interface/src/lib.rs
parenta732c3a3693fab727d3b8e6f5594b67efbb421eb (diff)
parent905ed3bb6b1f1a8abb253192333bb3f5a08b61c8 (diff)
downloadrust-93d830ed50ada43ce3c7561d6f98dd3630a11cf9.tar.gz
rust-93d830ed50ada43ce3c7561d6f98dd3630a11cf9.zip
Rollup merge of #79234 - ortem:fix-hashmap-pretty-printers, r=Mark-Simulacrum
Resolve typedefs in HashMap gdb/lldb pretty-printers

`GetTypedefedType` (LLDB) and `strip_typedefs` (GDB) calls are needed to resolve key and value types completely.
Without these calls, debugger doesn't show the actual type.

**Before** (without `GetTypedefedType`):
```
(lldb) frame variable hm[0]
(T) hm[0] = { ... }
```

**After** (with `GetTypedefedType`):
```
(lldb) frame variable hm[0]
((i32, alloc::string::String)) hm[0] = { ... }
```

Based on https://github.com/intellij-rust/intellij-rust/pull/6258
Diffstat (limited to 'compiler/rustc_interface/src/lib.rs')
0 files changed, 0 insertions, 0 deletions