Skip to content

Commit

Permalink
Rollup merge of rust-lang#104496 - djkoloski:dont_normalize_compiler_…
Browse files Browse the repository at this point in the history
…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``
  • Loading branch information
matthiaskrgr authored Nov 17, 2022
2 parents 8c3bad2 + b44d808 commit 940a441
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
5 changes: 1 addition & 4 deletions src/test/ui/typeck/issue-103899.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
// check-fail
// failure-status: 101
// normalize-stderr-test "note: .*" -> ""
// normalize-stderr-test "thread 'rustc' .*" -> ""
// normalize-stderr-test " .*\n" -> ""
// normalize-stderr-test " .*\n" -> ""
// dont-check-compiler-stderr
// known-bug: #103899

trait BaseWithAssoc {
Expand Down
12 changes: 0 additions & 12 deletions src/test/ui/typeck/issue-103899.stderr

This file was deleted.

0 comments on commit 940a441

Please sign in to comment.