2018-08-08 14:28:26 +02:00
|
|
|
error[E0625]: thread-local statics cannot be accessed at compile-time
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/thread-local-in-ctfe.rs:6:17
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
|
LL | static B: u32 = A;
|
|
|
|
| ^
|
|
|
|
|
|
|
|
error[E0625]: thread-local statics cannot be accessed at compile-time
|
2019-11-19 23:16:58 +00:00
|
|
|
--> $DIR/thread-local-in-ctfe.rs:9:19
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
|
LL | static C: &u32 = &A;
|
2019-11-19 23:16:58 +00:00
|
|
|
| ^
|
2019-04-22 08:40:08 +01:00
|
|
|
|
2018-08-08 14:28:26 +02:00
|
|
|
error[E0625]: thread-local statics cannot be accessed at compile-time
|
2019-11-19 23:16:58 +00:00
|
|
|
--> $DIR/thread-local-in-ctfe.rs:12:16
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
|
LL | const D: u32 = A;
|
|
|
|
| ^
|
|
|
|
|
|
|
|
error[E0625]: thread-local statics cannot be accessed at compile-time
|
2019-11-19 23:16:58 +00:00
|
|
|
--> $DIR/thread-local-in-ctfe.rs:15:18
|
2019-04-22 08:40:08 +01:00
|
|
|
|
|
|
|
|
LL | const E: &u32 = &A;
|
2019-11-19 23:16:58 +00:00
|
|
|
| ^
|
2019-04-22 08:40:08 +01:00
|
|
|
|
2018-08-08 14:28:26 +02:00
|
|
|
error[E0625]: thread-local statics cannot be accessed at compile-time
|
2019-11-19 23:16:58 +00:00
|
|
|
--> $DIR/thread-local-in-ctfe.rs:19:5
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
|
LL | A
|
|
|
|
| ^
|
|
|
|
|
2019-11-19 23:16:58 +00:00
|
|
|
error: aborting due to 5 previous errors
|
2018-08-08 14:28:26 +02:00
|
|
|
|
2021-08-02 23:03:16 -04:00
|
|
|
For more information about this error, try `rustc --explain E0625`.
|