Uh oh!
There was an error while loading. Please reload this page.
Format symbols under shared frames - #79692
Conversation
rust-highfive
commented
Dec 4, 2020
r? @cramertj (rust-highfive has picked a reviewer for you, use r? to override) |
KodrAus
commented
Dec 4, 2020
Ah! Looks like we do have a bit of coverage for the panic format afterall 👀 |
cramertj
commented
Dec 8, 2020
This looks reasonable to me, but it looks like CI is unhappy? r=me with that fixed. |
KodrAus
commented
Dec 16, 2020
We discussed this at a recent Libs meeting and thought making these formats consistent the other way was preferable. So instead of changing the way frames from |
KodrAus
commented
Dec 21, 2020
I've gone ahead and updated the description here to reflect the actual change being made, which is to This should be ready for another review now. Also cc @rust-lang/project-error-handling |
This comment has been minimized.
This comment has been minimized.
KodrAus
commented
Jan 14, 2021
@cramertj Are you still happy with this with the change made to |
KodrAus
commented
Jan 19, 2021
r? @sfackler |
sfackler
commented
Jan 19, 2021
I'm a bit confused as to the state of the PR - it looks like now it's just a purely stylistic change to the code, with no actual behavioral difference? |
@sfackler it’s a bit subtle, but the difference is that we move the call to |
KodrAus
commented
Mar 18, 2021
I no longer have the bandwidth to carry this forward but if somebody else would like to pick it up sometime in the future then please feel free! |
yaahc
commented
Mar 19, 2021
I'll take this one over |
…r=yaahc Reopen rust-lang#79692 (Format symbols under shared frames) Reopening rust-lang#79692.
…r=yaahc Reopen rust-lang#79692 (Format symbols under shared frames) Reopening rust-lang#79692.
Rollup of 11 pull requests Successful merges: - rust-lang#85054 (Revert SGX inline asm syntax) - rust-lang#85182 (Move `available_concurrency` implementation to `sys`) - rust-lang#86037 (Add `io::Cursor::{remaining, remaining_slice, is_empty}`) - rust-lang#86114 (Reopen rust-lang#79692 (Format symbols under shared frames)) - rust-lang#86297 (Allow to pass arguments to rustdoc-gui tool) - rust-lang#86334 (Resolve type aliases to the type they point to in intra-doc links) - rust-lang#86367 (Fix comment about rustc_inherit_overflow_checks in abs().) - rust-lang#86381 (Add regression test for issue rust-lang#39161) - rust-lang#86387 (Remove `#[allow(unused_lifetimes)]` which is now unnecessary) - rust-lang#86398 (Add regression test for issue rust-lang#54685) - rust-lang#86493 (Say "this enum variant takes"/"this struct takes" instead of "this function takes") Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
…r=yaahc Reopen rust-lang#79692 (Format symbols under shared frames) Reopening rust-lang#79692.
Rollup of 11 pull requests Successful merges: - rust-lang#85054 (Revert SGX inline asm syntax) - rust-lang#85182 (Move `available_concurrency` implementation to `sys`) - rust-lang#86037 (Add `io::Cursor::{remaining, remaining_slice, is_empty}`) - rust-lang#86114 (Reopen rust-lang#79692 (Format symbols under shared frames)) - rust-lang#86297 (Allow to pass arguments to rustdoc-gui tool) - rust-lang#86334 (Resolve type aliases to the type they point to in intra-doc links) - rust-lang#86367 (Fix comment about rustc_inherit_overflow_checks in abs().) - rust-lang#86381 (Add regression test for issue rust-lang#39161) - rust-lang#86387 (Remove `#[allow(unused_lifetimes)]` which is now unnecessary) - rust-lang#86398 (Add regression test for issue rust-lang#54685) - rust-lang#86493 (Say "this enum variant takes"/"this struct takes" instead of "this function takes") Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Part of #71706
Also related to #72981
This changes the format used for backtraces in the currently unstable
std::backtraceto align them with backtraces produced bypanic!. It involves un-nesting symbols that share frames instd::backtraceto appear as if they belong under individual frames.before:
after:
Since we don't share too much code between these formats right now or really check the
Displayformats for backtraces, they might end up diverging again.