diff options
Diffstat (limited to 'tests/ui/feature-gates/feature-gate-cfg-target-thread-local.stderr')
-rw-r--r-- | tests/ui/feature-gates/feature-gate-cfg-target-thread-local.stderr | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/ui/feature-gates/feature-gate-cfg-target-thread-local.stderr b/tests/ui/feature-gates/feature-gate-cfg-target-thread-local.stderr new file mode 100644 index 000000000..af59c7141 --- /dev/null +++ b/tests/ui/feature-gates/feature-gate-cfg-target-thread-local.stderr @@ -0,0 +1,12 @@ +error[E0658]: `cfg(target_thread_local)` is experimental and subject to change + --> $DIR/feature-gate-cfg-target-thread-local.rs:9:16 + | +LL | #[cfg_attr(target_thread_local, thread_local)] + | ^^^^^^^^^^^^^^^^^^^ + | + = note: see issue #29594 <https://github.com/rust-lang/rust/issues/29594> for more information + = help: add `#![feature(cfg_target_thread_local)]` to the crate attributes to enable + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0658`. |