@@ -5,45 +5,28 @@ LL | static B: u32 = A;
55 | ^
66
77error[E0625]: thread-local statics cannot be accessed at compile-time
8- --> $DIR/thread-local-in-ctfe.rs:9:18
8+ --> $DIR/thread-local-in-ctfe.rs:9:19
99 |
1010LL | static C: &u32 = &A;
11- | ^^
12-
13- error[E0712]: thread-local variable borrowed past end of function
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
11+ | ^
2012
2113error[E0625]: thread-local statics cannot be accessed at compile-time
22- --> $DIR/thread-local-in-ctfe.rs:13 :16
14+ --> $DIR/thread-local-in-ctfe.rs:12 :16
2315 |
2416LL | const D: u32 = A;
2517 | ^
2618
2719error[E0625]: thread-local statics cannot be accessed at compile-time
28- --> $DIR/thread-local-in-ctfe.rs:16:17
29- |
30- LL | const E: &u32 = &A;
31- | ^^
32-
33- error[E0712]: thread-local variable borrowed past end of function
34- --> $DIR/thread-local-in-ctfe.rs:16:17
20+ --> $DIR/thread-local-in-ctfe.rs:15:18
3521 |
3622LL | 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
23+ | ^
4024
4125error[E0625]: thread-local statics cannot be accessed at compile-time
42- --> $DIR/thread-local-in-ctfe.rs:21 :5
26+ --> $DIR/thread-local-in-ctfe.rs:19 :5
4327 |
4428LL | A
4529 | ^
4630
47- error: aborting due to 7 previous errors
31+ error: aborting due to 5 previous errors
4832
49- For more information about this error, try `rustc --explain E0712`.
0 commit comments