about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-04-24 20:59:15 +0000
committerbors <bors@rust-lang.org>2018-04-24 20:59:15 +0000
commit190a6c41cf2afdb11e81545846f2639ee96998e8 (patch)
treed93609e13545a6e8fe91850ed9f10ff7601faa30 /src/libsyntax
parentf5203d1073a774e01ae0c57ebb561648a8fd9910 (diff)
parent81a643731d987aa320c936110326ab9dfe812bd0 (diff)
downloadrust-190a6c41cf2afdb11e81545846f2639ee96998e8.tar.gz
rust-190a6c41cf2afdb11e81545846f2639ee96998e8.zip
Auto merge of #50096 - alexcrichton:less-simd-warnings, r=michaelwoerister
Tweak some warnings around #[target_feature]

This commit fixes up some issues discovered when getting the `stdsimd` crate's CI compiling again.
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 120dff2dbb9..39ddb13d347 100644
--- a/src/libsyntax/feature_gate.rs
+++ b/src/libsyntax/feature_gate.rs
@@ -936,7 +936,7 @@ pub const BUILTIN_ATTRIBUTES: &'static [(&'static str, AttributeType, AttributeG
                                  "the `#[naked]` attribute \
                                   is an experimental feature",
                                  cfg_fn!(naked_functions))),
-    ("target_feature", Normal, Ungated),
+    ("target_feature", Whitelisted, Ungated),
     ("export_name", Whitelisted, Ungated),
     ("inline", Whitelisted, Ungated),
     ("link", Whitelisted, Ungated),