Skip to content

Commit

Permalink
bless you
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Mar 24, 2020
1 parent 69cf211 commit 58a56cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/ui/write-to-static-mut-in-static.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 58a56cc

Please sign in to comment.