about summary refs log tree commit diff
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2017-01-15 00:50:17 +0100
committerest31 <MTest31@outlook.com>2017-01-15 02:15:38 +0100
commit530b5c860ba475d04a2d767e55deff74fbbc9007 (patch)
treeea2502aaf142f060fc7c56d04be4d833d35edac9
parent93e70ecb7fbe05caa74dfb2bf3c29315edc2b3e6 (diff)
downloadrust-530b5c860ba475d04a2d767e55deff74fbbc9007.tar.gz
rust-530b5c860ba475d04a2d767e55deff74fbbc9007.zip
Remove the safe_suggestion feature
This removes the safe_suggestion feature from feature_gate.rs.
It was added in commit 164f0105bb65f31b89e5fb7f368c9e6f5833a3f8
and then removed again in commit c11fe553df269d6f47b4c48f5c47c08efdd373dc .

As the removal was in the same PR #38099 as the addition, we don't move it to
the "removed" section.

Removes an element from the whitelist of non gate tested unstable lang features (issue #39059).
-rw-r--r--src/libsyntax/feature_gate.rs3
-rw-r--r--src/tools/tidy/src/features.rs2
2 files changed, 1 insertions, 4 deletions
diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs
index 90cca3129dc..64f2510b790 100644
--- a/src/libsyntax/feature_gate.rs
+++ b/src/libsyntax/feature_gate.rs
@@ -313,9 +313,6 @@ declare_features! (
     // Allows #[target_feature(...)]
     (active, target_feature, "1.15.0", None),
 
-    // Allow safe suggestions for potential type conversions.
-    (active, safe_suggestion, "1.0.0", Some(37384)),
-
     // `extern "ptx-*" fn()`
     (active, abi_ptx, "1.15.0", None),
 
diff --git a/src/tools/tidy/src/features.rs b/src/tools/tidy/src/features.rs
index b0da6647eb9..e2f7f921db2 100644
--- a/src/tools/tidy/src/features.rs
+++ b/src/tools/tidy/src/features.rs
@@ -165,7 +165,7 @@ pub fn check(path: &Path, bad: &mut bool) {
 
     // FIXME get this whitelist empty.
     let whitelist = vec![
-        "abi_ptx", "simd", "safe_suggestion", "macro_reexport",
+        "abi_ptx", "simd", "macro_reexport",
         "more_struct_aliases", "static_recursion", "reflect",
         "quote", "cfg_target_has_atomic", "custom_attribute",
         "default_type_parameter_fallback", "pushpop_unsafe",