fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
838 B32 linesraw
1error[E0625]: thread-local statics cannot be accessed at compile-time
2  --> $DIR/thread-local-in-ctfe.rs:6:17
3   |
4LL | static B: u32 = A;
5   |                 ^
6
7error[E0625]: thread-local statics cannot be accessed at compile-time
8  --> $DIR/thread-local-in-ctfe.rs:9:19
9   |
10LL | static C: &u32 = &A;
11   |                   ^
12
13error[E0625]: thread-local statics cannot be accessed at compile-time
14  --> $DIR/thread-local-in-ctfe.rs:12:16
15   |
16LL | const D: u32 = A;
17   |                ^
18
19error[E0625]: thread-local statics cannot be accessed at compile-time
20  --> $DIR/thread-local-in-ctfe.rs:15:18
21   |
22LL | const E: &u32 = &A;
23   |                  ^
24
25error[E0625]: thread-local statics cannot be accessed at compile-time
26  --> $DIR/thread-local-in-ctfe.rs:19:5
27   |
28LL |     A
29   |     ^
30
31error: aborting due to 5 previous errors
32