From 5ce2b0299784b337cbbbc1492086df577003b19c Mon Sep 17 00:00:00 2001 From: Pulkit Goyal <7895pulkit@gmail.com> Date: Sat, 27 Jan 2018 13:28:09 +0530 Subject: don't mention tasks in stability warnings of #[thread_local] #47755 This is a fix for issue #47755. --- src/libsyntax/feature_gate.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/libsyntax') diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs index 5a7b53153fd..50f961c1db8 100644 --- a/src/libsyntax/feature_gate.rs +++ b/src/libsyntax/feature_gate.rs @@ -694,9 +694,7 @@ pub const BUILTIN_ATTRIBUTES: &'static [(&'static str, AttributeType, AttributeG ("thread_local", Whitelisted, Gated(Stability::Unstable, "thread_local", "`#[thread_local]` is an experimental feature, and does \ - not currently handle destructors. There is no \ - corresponding `#[task_local]` mapping to the task \ - model", + not currently handle destructors.", cfg_fn!(thread_local))), ("rustc_on_unimplemented", Normal, Gated(Stability::Unstable, -- cgit 1.4.1-3-g733a5