Skip to content

Commit

Permalink
Remove the safe_suggestion feature
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
est31 committed Jan 15, 2017
1 parent 93e70ec commit 530b5c8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions src/libsyntax/feature_gate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),

Expand Down
2 changes: 1 addition & 1 deletion src/tools/tidy/src/features.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 530b5c8

Please sign in to comment.