Skip to content

Commit 530b5c8

Browse files
committed
Remove the safe_suggestion feature
This removes the safe_suggestion feature from feature_gate.rs. It was added in commit 164f010 and then removed again in commit c11fe55 . As the removal was in the same PR rust-lang#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 rust-lang#39059).
1 parent 93e70ec commit 530b5c8

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/libsyntax/feature_gate.rs

-3
Original file line numberDiff line numberDiff line change
@@ -313,9 +313,6 @@ declare_features! (
313313
// Allows #[target_feature(...)]
314314
(active, target_feature, "1.15.0", None),
315315

316-
// Allow safe suggestions for potential type conversions.
317-
(active, safe_suggestion, "1.0.0", Some(37384)),
318-
319316
// `extern "ptx-*" fn()`
320317
(active, abi_ptx, "1.15.0", None),
321318

src/tools/tidy/src/features.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ pub fn check(path: &Path, bad: &mut bool) {
165165

166166
// FIXME get this whitelist empty.
167167
let whitelist = vec![
168-
"abi_ptx", "simd", "safe_suggestion", "macro_reexport",
168+
"abi_ptx", "simd", "macro_reexport",
169169
"more_struct_aliases", "static_recursion", "reflect",
170170
"quote", "cfg_target_has_atomic", "custom_attribute",
171171
"default_type_parameter_fallback", "pushpop_unsafe",

0 commit comments

Comments
 (0)