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