]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | error[E0625]: thread-local statics cannot be accessed at compile-time |
0731742a | 2 | --> $DIR/thread-local-in-ctfe.rs:6:17 |
b7449926 XL |
3 | | |
4 | LL | static B: u32 = A; | |
5 | | ^ | |
6 | ||
7 | error[E0625]: thread-local statics cannot be accessed at compile-time | |
0731742a | 8 | --> $DIR/thread-local-in-ctfe.rs:9:18 |
b7449926 XL |
9 | | |
10 | LL | static C: &u32 = &A; | |
11 | | ^^ | |
12 | ||
e74abb32 | 13 | error[E0712]: thread-local variable borrowed past end of function |
48663c56 XL |
14 | --> $DIR/thread-local-in-ctfe.rs:9:18 |
15 | | | |
16 | LL | static C: &u32 = &A; | |
17 | | ^^- end of enclosing function is here | |
18 | | | | |
19 | | thread-local variables cannot be borrowed beyond the end of the function | |
48663c56 | 20 | |
b7449926 | 21 | error[E0625]: thread-local statics cannot be accessed at compile-time |
e74abb32 | 22 | --> $DIR/thread-local-in-ctfe.rs:13:16 |
b7449926 XL |
23 | | |
24 | LL | const D: u32 = A; | |
25 | | ^ | |
26 | ||
27 | error[E0625]: thread-local statics cannot be accessed at compile-time | |
e74abb32 | 28 | --> $DIR/thread-local-in-ctfe.rs:16:17 |
b7449926 XL |
29 | | |
30 | LL | const E: &u32 = &A; | |
31 | | ^^ | |
32 | ||
e74abb32 XL |
33 | error[E0712]: thread-local variable borrowed past end of function |
34 | --> $DIR/thread-local-in-ctfe.rs:16:17 | |
48663c56 XL |
35 | | |
36 | LL | const E: &u32 = &A; | |
37 | | ^^- end of enclosing function is here | |
38 | | | | |
39 | | thread-local variables cannot be borrowed beyond the end of the function | |
48663c56 | 40 | |
b7449926 | 41 | error[E0625]: thread-local statics cannot be accessed at compile-time |
e74abb32 | 42 | --> $DIR/thread-local-in-ctfe.rs:21:5 |
b7449926 XL |
43 | | |
44 | LL | A | |
45 | | ^ | |
46 | ||
e74abb32 | 47 | error: aborting due to 7 previous errors |
b7449926 | 48 | |
48663c56 | 49 | For more information about this error, try `rustc --explain E0712`. |