]> git.lizzy.rs Git - rust.git/blob - src/test/ui/thread-local-in-ctfe.stderr
Rollup merge of #87759 - m-ou-se:linux-process-sealed, r=jyn514
[rust.git] / src / test / ui / thread-local-in-ctfe.stderr
1 error[E0625]: thread-local statics cannot be accessed at compile-time
2   --> $DIR/thread-local-in-ctfe.rs:6:17
3    |
4 LL | static B: u32 = A;
5    |                 ^
6
7 error[E0625]: thread-local statics cannot be accessed at compile-time
8   --> $DIR/thread-local-in-ctfe.rs:9:19
9    |
10 LL | static C: &u32 = &A;
11    |                   ^
12
13 error[E0625]: thread-local statics cannot be accessed at compile-time
14   --> $DIR/thread-local-in-ctfe.rs:12:16
15    |
16 LL | const D: u32 = A;
17    |                ^
18
19 error[E0625]: thread-local statics cannot be accessed at compile-time
20   --> $DIR/thread-local-in-ctfe.rs:15:18
21    |
22 LL | const E: &u32 = &A;
23    |                  ^
24
25 error[E0625]: thread-local statics cannot be accessed at compile-time
26   --> $DIR/thread-local-in-ctfe.rs:19:5
27    |
28 LL |     A
29    |     ^
30
31 error: aborting due to 5 previous errors
32
33 For more information about this error, try `rustc --explain E0625`.