]> git.proxmox.com Git - rustc.git/blame - src/test/ui/thread-local-in-ctfe.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / thread-local-in-ctfe.stderr
CommitLineData
b7449926 1error[E0625]: thread-local statics cannot be accessed at compile-time
0731742a 2 --> $DIR/thread-local-in-ctfe.rs:6:17
b7449926
XL
3 |
4LL | static B: u32 = A;
5 | ^
6
7error[E0625]: thread-local statics cannot be accessed at compile-time
60c5eb7d 8 --> $DIR/thread-local-in-ctfe.rs:9:19
b7449926
XL
9 |
10LL | static C: &u32 = &A;
60c5eb7d 11 | ^
48663c56 12
b7449926 13error[E0625]: thread-local statics cannot be accessed at compile-time
60c5eb7d 14 --> $DIR/thread-local-in-ctfe.rs:12:16
b7449926
XL
15 |
16LL | const D: u32 = A;
17 | ^
18
19error[E0625]: thread-local statics cannot be accessed at compile-time
60c5eb7d 20 --> $DIR/thread-local-in-ctfe.rs:15:18
48663c56
XL
21 |
22LL | const E: &u32 = &A;
60c5eb7d 23 | ^
48663c56 24
b7449926 25error[E0625]: thread-local statics cannot be accessed at compile-time
60c5eb7d 26 --> $DIR/thread-local-in-ctfe.rs:19:5
b7449926
XL
27 |
28LL | A
29 | ^
30
60c5eb7d 31error: aborting due to 5 previous errors
b7449926 32