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