Skip to content

Commit 9e9c74d

Browse files
authored
Rollup merge of rust-lang#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 ff424d0 + b44d808 commit 9e9c74d

File tree

2 files changed

+1
-16
lines changed

2 files changed

+1
-16
lines changed

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

Lines changed: 1 addition & 4 deletions
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

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)