diff options
| author | Ralf Jung <post@ralfj.de> | 2019-04-07 16:45:28 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2019-04-14 10:01:32 +0200 |
| commit | 6cd7c8b04a83ed1f2900dbcbeaae8f5e91a9cb35 (patch) | |
| tree | 48668ed4bc449e5c791d483c28aedb792d6aa2d5 | |
| parent | fa1cc72f41c57ba4e406c2e2dbd2da1515152c38 (diff) | |
| download | rust-6cd7c8b04a83ed1f2900dbcbeaae8f5e91a9cb35.tar.gz rust-6cd7c8b04a83ed1f2900dbcbeaae8f5e91a9cb35.zip | |
normalize flags and rustc version in ICE repro
| -rw-r--r-- | src/test/ui/pattern/const-pat-ice.rs | 2 | ||||
| -rw-r--r-- | src/test/ui/pattern/const-pat-ice.stderr | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/test/ui/pattern/const-pat-ice.rs b/src/test/ui/pattern/const-pat-ice.rs index 865c54be1ad..b866c7fa6cc 100644 --- a/src/test/ui/pattern/const-pat-ice.rs +++ b/src/test/ui/pattern/const-pat-ice.rs @@ -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. diff --git a/src/test/ui/pattern/const-pat-ice.stderr b/src/test/ui/pattern/const-pat-ice.stderr index 11cb507d8e6..03580dfecfb 100644 --- a/src/test/ui/pattern/const-pat-ice.stderr +++ b/src/test/ui/pattern/const-pat-ice.stderr @@ -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 |
