2018-09-12 12:27:28 +08:00
|
|
|
error[E0658]: statements in statics are unstable (see issue #48821)
|
|
|
|
--> $DIR/mod-static-with-const-fn.rs:27:5
|
|
|
|
|
|
|
|
|
LL | *FOO.0.get() = 5;
|
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= help: add #![feature(const_let)] to the crate attributes to enable
|
|
|
|
|
2018-10-23 04:59:13 +02:00
|
|
|
error: aborting due to previous error
|
2018-09-12 12:27:28 +08:00
|
|
|
|
2018-10-23 04:59:13 +02:00
|
|
|
For more information about this error, try `rustc --explain E0658`.
|