Rollup merge of #75771 - tmiasko:const-eval-query-stack-normalize, r=jonas-schievink
Extend normalization in const-eval-query-stack test Builds with debuginfo have additional information in backtrace.
This commit is contained in:
commit
d8262297ad
@ -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)]
|
||||
|
@ -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);
|
||||
| -^^^^^^^
|
||||
|
Loading…
x
Reference in New Issue
Block a user