Skip to content

Commit 039cae7

Browse files
authored
Rollup merge of #104496 - djkoloski:dont_normalize_compiler_backtraces, r=jackh726
Don't attempt to normalize compiler backtraces Backtraces can very significantly depending on environment and cause spurious test suite failures. Ensuring a proper failure-status should be sufficient to keep a crash properly documented. This caused a failure in Fuchsia's test suite CI due to an extra newline between "stack" and "error" appearing after normalization. cc ````@jackh726```` r? ````@tmandry````
2 parents ed97f24 + b44d808 commit 039cae7

File tree

2 files changed

+1
-16
lines changed

2 files changed

+1
-16
lines changed

src/test/ui/typeck/issue-103899.rs

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
// check-fail
22
// failure-status: 101
3-
// normalize-stderr-test "note: .*" -> ""
4-
// normalize-stderr-test "thread 'rustc' .*" -> ""
5-
// normalize-stderr-test " .*\n" -> ""
6-
// normalize-stderr-test " .*\n" -> ""
3+
// dont-check-compiler-stderr
74
// known-bug: #103899
85

96
trait BaseWithAssoc {

src/test/ui/typeck/issue-103899.stderr

-12
This file was deleted.

0 commit comments

Comments
 (0)