don't mention tasks in stability warnings of #[thread_local] #47755

This is a fix for issue #47755.
This commit is contained in:
Pulkit Goyal 2018-01-27 13:28:09 +05:30
parent 5669050303
commit 5ce2b02997
2 changed files with 2 additions and 4 deletions

View file

@ -1,4 +1,4 @@
error[E0658]: `#[thread_local]` is an experimental feature, and does not currently handle destructors. There is no corresponding `#[task_local]` mapping to the task model (see issue #29594)
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
|
18 | #[thread_local] //~ ERROR `#[thread_local]` is an experimental feature