diff options
Diffstat (limited to 'tests/ui/consts/const-eval/const-eval-query-stack.rs')
| -rw-r--r-- | tests/ui/consts/const-eval/const-eval-query-stack.rs | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/tests/ui/consts/const-eval/const-eval-query-stack.rs b/tests/ui/consts/const-eval/const-eval-query-stack.rs index 4eaff494783..53589bfd2ab 100644 --- a/tests/ui/consts/const-eval/const-eval-query-stack.rs +++ b/tests/ui/consts/const-eval/const-eval-query-stack.rs @@ -1,16 +1,16 @@ -// compile-flags: -Ztreat-err-as-bug=1 -// failure-status: 101 -// rustc-env:RUST_BACKTRACE=1 -// normalize-stderr-test "\nerror: .*unexpectedly panicked.*\n\n" -> "" -// normalize-stderr-test "note: we would appreciate a bug report.*\n\n" -> "" -// normalize-stderr-test "note: compiler flags.*\n\n" -> "" -// normalize-stderr-test "note: rustc.*running on.*\n\n" -> "" -// normalize-stderr-test "thread.*panicked.*:\n.*\n" -> "" -// normalize-stderr-test "stack backtrace:\n" -> "" -// normalize-stderr-test "\s\d{1,}: .*\n" -> "" -// normalize-stderr-test "\s at .*\n" -> "" -// normalize-stderr-test ".*note: Some details.*\n" -> "" -// normalize-stderr-test ".*omitted \d{1,} frame.*\n" -> "" +//@ compile-flags: -Ztreat-err-as-bug=1 +//@ failure-status: 101 +//@ rustc-env:RUST_BACKTRACE=1 +//@ normalize-stderr-test "\nerror: .*unexpectedly panicked.*\n\n" -> "" +//@ normalize-stderr-test "note: we would appreciate a bug report.*\n\n" -> "" +//@ normalize-stderr-test "note: compiler flags.*\n\n" -> "" +//@ normalize-stderr-test "note: rustc.*running on.*\n\n" -> "" +//@ normalize-stderr-test "thread.*panicked.*:\n.*\n" -> "" +//@ normalize-stderr-test "stack backtrace:\n" -> "" +//@ normalize-stderr-test "\s\d{1,}: .*\n" -> "" +//@ normalize-stderr-test "\s at .*\n" -> "" +//@ normalize-stderr-test ".*note: Some details.*\n" -> "" +//@ normalize-stderr-test ".*omitted \d{1,} frame.*\n" -> "" #![allow(unconditional_panic)] const X: i32 = 1 / 0; //~ERROR constant |
