2024-01-10 14:29:01 +11:00
|
|
|
error: internal compiler error[E0080]: could not evaluate static initializer
|
2021-02-22 21:07:40 -05:00
|
|
|
--> $DIR/err.rs:11:21
|
2020-04-24 17:22:55 -03:00
|
|
|
|
|
|
|
|
|
LL | pub static C: u32 = 0 - 1;
|
|
|
|
|
| ^^^^^ attempt to compute `0_u32 - 1_u32`, which would overflow
|
|
|
|
|
|
2024-03-15 19:09:24 +01:00
|
|
|
|
2023-02-07 19:17:24 +00:00
|
|
|
error: the compiler unexpectedly panicked. this is a bug.
|
2020-04-24 17:22:55 -03:00
|
|
|
|
|
|
|
|
query stack during panic:
|
2023-10-10 08:52:21 +00:00
|
|
|
#0 [eval_static_initializer] evaluating initializer of static `C`
|
2024-02-14 12:28:07 +00:00
|
|
|
#1 [analysis] running analysis passes on this crate
|
2020-04-24 17:22:55 -03:00
|
|
|
end of query stack
|