Extend normalization in const-eval-query-stack test
Builds with debuginfo have additional information in backtrace.
This commit is contained in:
parent
32cb8d40eb
commit
3b995ccc3f
@ -9,7 +9,8 @@
|
|||||||
// normalize-stderr-test "note: rustc.*running on.*\n\n" -> ""
|
// normalize-stderr-test "note: rustc.*running on.*\n\n" -> ""
|
||||||
// normalize-stderr-test "thread.*panicked.*\n" -> ""
|
// normalize-stderr-test "thread.*panicked.*\n" -> ""
|
||||||
// normalize-stderr-test "stack backtrace:\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" -> ""
|
// normalize-stderr-test ".*note: Some details.*\n" -> ""
|
||||||
|
|
||||||
#![allow(unconditional_panic)]
|
#![allow(unconditional_panic)]
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
error: reaching this expression at runtime will panic or abort
|
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);
|
LL | let x: &'static i32 = &(1 / 0);
|
||||||
| -^^^^^^^
|
| -^^^^^^^
|
||||||
|
Loading…
x
Reference in New Issue
Block a user