We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00ce472 commit 50a46b9Copy full SHA for 50a46b9
src/test/ui/backtrace.rs
@@ -43,6 +43,7 @@ fn expected(fn_name: &str) -> String {
43
format!(" backtrace::{}", fn_name)
44
}
45
46
+#[cfg(not(panic = "abort"))]
47
fn contains_verbose_expected(s: &str, fn_name: &str) -> bool {
48
// HACK(eddyb) work around the fact that verbosely demangled stack traces
49
// (from `RUST_BACKTRACE=full`, or, as is the case here, panic-in-panic)
0 commit comments