Skip to content

Commit 58a56cc

Browse files
committed
bless you
1 parent 69cf211 commit 58a56cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/ui/write-to-static-mut-in-static.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ error[E0080]: could not evaluate static initializer
22
--> $DIR/write-to-static-mut-in-static.rs:2:33
33
|
44
LL | pub static mut B: () = unsafe { A = 1; };
5-
| ^^^^^ tried to modify a static's initial value from another static's initializer
5+
| ^^^^^ modifying a static's initial value from another static's initializer
66

77
error[E0391]: cycle detected when const-evaluating `C`
88
--> $DIR/write-to-static-mut-in-static.rs:5:34

0 commit comments

Comments
 (0)