rust/src/test/ui/consts/const-eval/assign-to-static-within-other-static.stderr

9 lines
204 B
Plaintext
Raw Normal View History

2018-11-19 04:19:14 -06:00
error: cannot mutate statics in the initializer of another static
--> $DIR/assign-to-static-within-other-static.rs:32:5
|
LL | FOO2 = 5;
| ^^^^^^^^
error: aborting due to previous error