blob: 9616f8eeeb7668fc604387128533d9c8b0a9e437 [file] [log] [blame] [edit]
error[E0080]: could not evaluate static initializer
--> $DIR/write-to-static-mut-in-static.rs:2:33
|
LL | pub static mut B: () = unsafe { A = 1; };
| ^^^^^ modifying a static's initial value from another static's initializer
error[E0080]: could not evaluate static initializer
--> $DIR/write-to-static-mut-in-static.rs:7:21
|
LL | pub static D: u32 = D;
| ^ encountered static that tried to initialize itself with itself
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0080`.