Skip to content

Commit e91cea9

Browse files
committed
Disable backtrace so test output is consistent
1 parent a73a1d8 commit e91cea9

2 files changed

Lines changed: 3 additions & 14 deletions

File tree

tests/ui/splat/splat-fn-ptr-tuple-fail.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22
//! Bug #158603 regression test
33
//@ run-fail
44
//@ check-run-results
5+
//@ exec-env: RUST_BACKTRACE=0
56

67
//@ normalize-stderr: "thread '.*'" -> "thread 'NAME'"
7-
//@ normalize-stderr: " [0-9]*: " -> " N: "
8+
//@ normalize-stderr: "note: run with.*\n" -> ""
89

910
#![expect(incomplete_features)]
1011
#![feature(splat)]
Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,3 @@
11

2-
thread 'NAME' ($TID) panicked at $DIR/splat-fn-ptr-tuple-fail.rs:15:39:
2+
thread 'NAME' ($TID) panicked at $DIR/splat-fn-ptr-tuple-fail.rs:16:39:
33
called `Option::unwrap()` on a `None` value
4-
stack backtrace:
5-
N: panic_handler
6-
at $SRC_DIR_REAL/std/src/panicking.rs:LL:COL
7-
N: panic_fmt
8-
at $SRC_DIR_REAL/core/src/panicking.rs:LL:COL
9-
N: panic
10-
at $SRC_DIR_REAL/core/src/panicking.rs:LL:COL
11-
N: unwrap_failed
12-
at $SRC_DIR_REAL/core/src/option.rs:LL:COL
13-
N: splat_fn_ptr_tuple_fail::main
14-
N: <fn() as core::ops::function::FnOnce<()>>::call_once
15-
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

0 commit comments

Comments
 (0)