Skip to content

Commit

Permalink
normalize flags and rustc version in ICE repro
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Apr 7, 2019
1 parent 83dcc96 commit be83bd5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/test/ui/pattern/const-pat-ice.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// failure-status: 101
// rustc-env:RUST_BACKTRACE=0
// normalize-stderr-test "note: rustc 1.* running on .*" -> "note: rustc VERSION running on TARGET"
// normalize-stderr-test "note: compiler flags: .*" -> "note: compiler flags: FLAGS"

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

Expand Down
4 changes: 2 additions & 2 deletions src/test/ui/pattern/const-pat-ice.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ note: the compiler unexpectedly panicked. this is a bug.

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

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

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

0 comments on commit be83bd5

Please sign in to comment.