1 #![feature(const_fn, thread_local)]
7 //~^ ERROR thread-local statics cannot be accessed at compile-time
10 //~^ ERROR thread-local statics cannot be accessed at compile-time
11 //~| WARNING thread-local variable borrowed past end of function
12 //~| WARNING this error has been downgraded to a warning
13 //~| WARNING this warning will become a hard error in the future
16 //~^ ERROR thread-local statics cannot be accessed at compile-time
19 //~^ ERROR thread-local statics cannot be accessed at compile-time
20 //~| WARNING thread-local variable borrowed past end of function
21 //~| WARNING this error has been downgraded to a warning
22 //~| WARNING this warning will become a hard error in the future
26 //~^ ERROR thread-local statics cannot be accessed at compile-time