error[E0658]: `#[thread_local]` is an experimental feature, and does not currently handle destructors. (see issue #29594) | |
--> $DIR/feature-gate-thread_local.rs:18:1 | |
| | |
LL | #[thread_local] //~ ERROR `#[thread_local]` is an experimental feature | |
| ^^^^^^^^^^^^^^^ | |
| | |
= help: add #![feature(thread_local)] to the crate attributes to enable | |
error: aborting due to previous error | |
For more information about this error, try `rustc --explain E0658`. |