X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=tests%2Fui%2Ftreat-err-as-bug%2Ferr.stderr;h=3a56445a26b58102caea740bef520fef157f3a00;hb=a7597a15265df589b29ed3c61a3047994fc45d0a;hp=8f67571c2990ea56a1c2494fd2331fb36cb5423f;hpb=7e6f42e688b4e1713533f369b54df19ea7aca104;p=rust.git diff --git a/tests/ui/treat-err-as-bug/err.stderr b/tests/ui/treat-err-as-bug/err.stderr index 8f67571c299..3a56445a26b 100644 --- a/tests/ui/treat-err-as-bug/err.stderr +++ b/tests/ui/treat-err-as-bug/err.stderr @@ -4,7 +4,7 @@ error[E0080]: could not evaluate static initializer LL | pub static C: u32 = 0 - 1; | ^^^^^ attempt to compute `0_u32 - 1_u32`, which would overflow -error: internal compiler error: unexpected panic +error: the compiler unexpectedly panicked. this is a bug. query stack during panic: #0 [eval_to_allocation_raw] const-evaluating + checking `C`