Skip to content

Commit be83bd5

Browse files
committed
normalize flags and rustc version in ICE repro
1 parent 83dcc96 commit be83bd5

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/test/ui/pattern/const-pat-ice.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// failure-status: 101
22
// rustc-env:RUST_BACKTRACE=0
3+
// normalize-stderr-test "note: rustc 1.* running on .*" -> "note: rustc VERSION running on TARGET"
4+
// normalize-stderr-test "note: compiler flags: .*" -> "note: compiler flags: FLAGS"
35

46
// This is a repro test for an ICE in our pattern handling of constants.
57

src/test/ui/pattern/const-pat-ice.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ note: the compiler unexpectedly panicked. this is a bug.
77

88
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
99

10-
note: rustc 1.35.0-dev running on x86_64-unknown-linux-gnu
10+
note: rustc VERSION running on TARGET
1111

12-
note: compiler flags: -Z threads=1 -Z ui-testing -Z unstable-options -C prefer-dynamic -C rpath
12+
note: compiler flags: FLAGS
1313

0 commit comments

Comments
 (0)