2018-11-10 02:36:19 +01:00
|
|
|
error[E0015]: calls in statics are limited to constant functions, tuple structs and tuple variants
|
2018-11-20 11:13:19 +01:00
|
|
|
--> $DIR/mod-static-with-const-fn.rs:34:5
|
2018-11-10 02:36:19 +01:00
|
|
|
|
|
|
|
|
LL | foo();
|
|
|
|
| ^^^^^
|
|
|
|
|
2018-11-19 11:19:14 +01:00
|
|
|
error: aborting due to previous error
|
2018-09-12 12:27:28 +08:00
|
|
|
|
2018-11-19 11:19:14 +01:00
|
|
|
For more information about this error, try `rustc --explain E0015`.
|