未验证 提交 d8262297 编写于 作者: D Dylan DPC 提交者: GitHub

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.
......@@ -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)]
......
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);
| -^^^^^^^
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册