mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-21 04:03:11 +00:00
bless you
This commit is contained in:
parent
69cf211d06
commit
58a56cc8c0
@ -2,7 +2,7 @@ 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; };
|
||||
| ^^^^^ tried to modify a static's initial value from another static's initializer
|
||||
| ^^^^^ modifying a static's initial value from another static's initializer
|
||||
|
||||
error[E0391]: cycle detected when const-evaluating `C`
|
||||
--> $DIR/write-to-static-mut-in-static.rs:5:34
|
||||
|
Loading…
Reference in New Issue
Block a user