]>
git.proxmox.com Git - rustc.git/blob - tests/ui/consts/const-eval/const-eval-query-stack.rs
1 // compile-flags: -Ztreat-err-as-bug=1
3 // rustc-env:RUST_BACKTRACE=1
4 // normalize-stderr-test "\nerror: internal compiler error.*\n\n" -> ""
5 // normalize-stderr-test "note:.*unexpectedly panicked.*\n\n" -> ""
6 // normalize-stderr-test "note: we would appreciate a bug report.*\n\n" -> ""
7 // normalize-stderr-test "note: compiler flags.*\n\n" -> ""
8 // normalize-stderr-test "note: rustc.*running on.*\n\n" -> ""
9 // normalize-stderr-test "thread.*panicked.*\n" -> ""
10 // normalize-stderr-test "stack backtrace:\n" -> ""
11 // normalize-stderr-test "\s\d{1,}: .*\n" -> ""
12 // normalize-stderr-test "\s at .*\n" -> ""
13 // normalize-stderr-test ".*note: Some details.*\n" -> ""
15 #![allow(unconditional_panic)]
17 const X
: i32 = 1 / 0; //~ERROR constant
20 let x
: &'
static i32 = &X
;