summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2015-12-12 21:40:45 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2015-12-12 21:40:45 +0300
commit105bd152076ecc094fc8358f160d01f9fd866f55 (patch)
tree670b2558d6869c3c2e9a195e90d7d3231ed00e36 /src/libsyntax
parente3ed7b0501a24f4def3aff775c6fbf9481e3c77e (diff)
downloadrust-105bd152076ecc094fc8358f160d01f9fd866f55.tar.gz
rust-105bd152076ecc094fc8358f160d01f9fd866f55.zip
Address the review comments
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/feature_gate.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs
index 6b138b50f03..f186aff6d36 100644
--- a/src/libsyntax/feature_gate.rs
+++ b/src/libsyntax/feature_gate.rs
@@ -380,7 +380,7 @@ pub const KNOWN_ATTRIBUTES: &'static [(&'static str, AttributeType, AttributeGat
     ("must_use", Whitelisted, Ungated),
     ("stable", Whitelisted, Ungated),
     ("unstable", Whitelisted, Ungated),
-    ("deprecated", Whitelisted, Ungated),
+    ("deprecated", Normal, Gated("deprecated", "`#[deprecated]` attribute is unstable")),
 
     ("rustc_paren_sugar", Normal, Gated("unboxed_closures",
                                         "unboxed_closures are still evolving")),