10 lines
309 B
Plaintext
10 lines
309 B
Plaintext
error[E0015]: calls in statics are limited to constant functions, tuple structs and tuple variants
|
|
--> $DIR/mir_check_nonconst.rs:8:19
|
|
|
|
|
LL | static foo: Foo = bar();
|
|
| ^^^^^
|
|
|
|
error: aborting due to previous error
|
|
|
|
For more information about this error, try `rustc --explain E0015`.
|