Skip to content

Update backtraces #1840

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

Merged
merged 1 commit into from Jun 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rust-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4d3ce2e7dac840d6ac7d658a5506eb31492fb3ef
192920c22bc8433ab14706ee0829e707d119b74f
4 changes: 4 additions & 0 deletions tests/run-pass/backtrace-api.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,9 @@ RUSTLIB/core/src/ops/function.rs:LL:COL (std::ops::function::impls::call_once)
RUSTLIB/std/src/panicking.rs:LL:COL (std::panicking::r#try::do_call)
RUSTLIB/std/src/panicking.rs:LL:COL (std::panicking::r#try)
RUSTLIB/std/src/panic.rs:LL:COL (std::panic::catch_unwind)
RUSTLIB/std/src/rt.rs:LL:COL (std::rt::lang_start_internal::{closure#2})
RUSTLIB/std/src/panicking.rs:LL:COL (std::panicking::r#try::do_call)
RUSTLIB/std/src/panicking.rs:LL:COL (std::panicking::r#try)
RUSTLIB/std/src/panic.rs:LL:COL (std::panic::catch_unwind)
RUSTLIB/std/src/rt.rs:LL:COL (std::rt::lang_start_internal)
RUSTLIB/std/src/rt.rs:LL:COL (std::rt::lang_start)
12 changes: 10 additions & 2 deletions tests/run-pass/backtrace-std.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,15 @@
at RUSTLIB/std/src/panicking.rs:LL:CC
11: std::panic::catch_unwind
at RUSTLIB/std/src/panic.rs:LL:CC
12: std::rt::lang_start_internal
12: std::rt::lang_start_internal::{closure#2}
at RUSTLIB/std/src/rt.rs:LL:CC
13: std::rt::lang_start
13: std::panicking::r#try::do_call
at RUSTLIB/std/src/panicking.rs:LL:CC
14: std::panicking::r#try
at RUSTLIB/std/src/panicking.rs:LL:CC
15: std::panic::catch_unwind
at RUSTLIB/std/src/panic.rs:LL:CC
16: std::rt::lang_start_internal
at RUSTLIB/std/src/rt.rs:LL:CC
17: std::rt::lang_start
at RUSTLIB/std/src/rt.rs:LL:CC
12 changes: 10 additions & 2 deletions tests/run-pass/panic/panic1.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,16 @@ stack backtrace:
at RUSTLIB/$FILE:LL:COL
7: std::panic::catch_unwind
at RUSTLIB/$FILE:LL:COL
8: std::rt::lang_start_internal
8: std::rt::lang_start_internal::{closure#2}
at RUSTLIB/$FILE:LL:COL
9: std::rt::lang_start
9: std::panicking::r#try::do_call
at RUSTLIB/$FILE:LL:COL
10: std::panicking::r#try
at RUSTLIB/$FILE:LL:COL
11: std::panic::catch_unwind
at RUSTLIB/$FILE:LL:COL
12: std::rt::lang_start_internal
at RUSTLIB/$FILE:LL:COL
13: std::rt::lang_start
at RUSTLIB/$FILE:LL:COL
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.