Skip to content

Commit

Permalink
Rollup merge of #75771 - tmiasko:const-eval-query-stack-normalize, r=…
Browse files Browse the repository at this point in the history
…jonas-schievink

Extend normalization in const-eval-query-stack test

Builds with debuginfo have additional information in backtrace.
  • Loading branch information
Dylan-DPC authored Aug 22, 2020
2 parents ad15dc2 + 3b995cc commit d826229
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/test/ui/consts/const-eval/const-eval-query-stack.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
// normalize-stderr-test "note: rustc.*running on.*\n\n" -> ""
// normalize-stderr-test "thread.*panicked.*\n" -> ""
// normalize-stderr-test "stack backtrace:\n" -> ""
// normalize-stderr-test " \d{1,}: .*\n" -> ""
// normalize-stderr-test "\s\d{1,}: .*\n" -> ""
// normalize-stderr-test "\s at .*\n" -> ""
// normalize-stderr-test ".*note: Some details.*\n" -> ""

#![allow(unconditional_panic)]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
error: reaching this expression at runtime will panic or abort
--> $DIR/const-eval-query-stack.rs:18:28
--> $DIR/const-eval-query-stack.rs:19:28
|
LL | let x: &'static i32 = &(1 / 0);
| -^^^^^^^
Expand Down

0 comments on commit d826229

Please sign in to comment.