Extend normalization in const-eval-query-stack test

Builds with debuginfo have additional information in backtrace.
This commit is contained in:
Tomasz Miąsko 2020-08-21 00:00:00 +00:00
parent 32cb8d40eb
commit 3b995ccc3f
2 changed files with 3 additions and 2 deletions

View file

@ -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)]

View file

@ -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);
| -^^^^^^^