diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2017-10-10 20:22:24 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-10-10 20:22:24 -0400 |
| commit | fab96c4b1201977f8875388611be5481079f5cf2 (patch) | |
| tree | b57a50f0647269132155206253135d72fc02bb79 /src/test/run-pass/thinlto | |
| parent | d6d711dd8f7ad5885294b8e1f0009a23dc1f8b1f (diff) | |
| parent | c3c1df582094b10f803d875f43f6e8b7e3107c5d (diff) | |
| download | rust-fab96c4b1201977f8875388611be5481079f5cf2.tar.gz rust-fab96c4b1201977f8875388611be5481079f5cf2.zip | |
Rollup merge of #45071 - tromey:use-gdb-lazy-string, r=michaelwoerister
Implement display_hint in gdb pretty printers A few pretty-printers were returning a quoted string from their to_string method. It's preferable in gdb to return a lazy string and to let gdb handle the display by having a "display_hint" method that returns "string" -- it lets gdb settings (like "set print ...") work, it handles corrupted strings a bit better, and it passes the information along to IDEs.
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions
