diff options
| author | bors <bors@rust-lang.org> | 2017-01-16 09:16:44 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-01-16 09:16:44 +0000 |
| commit | 14bfdfdff569bfc885a01dbbdec679b4e623e205 (patch) | |
| tree | 0bb141f8e5e4ea27ac8e6664c0695224b8227ca4 | |
| parent | daf4c06351006b70c6433ab028af01388218b323 (diff) | |
| parent | 7821ea839167e4a06e2c17b3a74f8f419e7cea0c (diff) | |
| download | rust-14bfdfdff569bfc885a01dbbdec679b4e623e205.tar.gz rust-14bfdfdff569bfc885a01dbbdec679b4e623e205.zip | |
Auto merge of #39071 - est31:master, r=GuillaumeGomez
Mark safe_suggestion and pushpop_unsafe as removed in feature_gate.rs This removes two features from feature_gate.rs: `safe_suggestion` and `pushpop_unsafe`. Both had been removed in other places already, but were forgotten to be removed from feature_gate.rs. * `safe_suggestion` was added in commit 164f0105bb65f31b89e5fb7f368c9e6f5833a3f8 and then removed again in commit c11fe553df269d6f47b4c48f5c47c08efdd373dc both in the same PR #38099. * `pushpop_unsafe` was added in commit 1829fa5199bae5a192c771807c532badce14be37 and removed again in commit d399098fd82e0bf3ed61bbbbcdbb0b6adfa4c808 Removes two elements from the whitelist of non gate tested unstable lang features (issue #39059).
| -rw-r--r-- | src/libsyntax/ext/expand.rs | 1 | ||||
| -rw-r--r-- | src/libsyntax/feature_gate.rs | 7 | ||||
| -rw-r--r-- | src/tools/tidy/src/features.rs | 4 |
3 files changed, 3 insertions, 9 deletions
diff --git a/src/libsyntax/ext/expand.rs b/src/libsyntax/ext/expand.rs index 201e8d69494..3a8f9126b49 100644 --- a/src/libsyntax/ext/expand.rs +++ b/src/libsyntax/ext/expand.rs @@ -926,7 +926,6 @@ impl<'feat> ExpansionConfig<'feat> { fn enable_trace_macros = trace_macros, fn enable_allow_internal_unstable = allow_internal_unstable, fn enable_custom_derive = custom_derive, - fn enable_pushpop_unsafe = pushpop_unsafe, } } diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs index 90cca3129dc..ba6e752d310 100644 --- a/src/libsyntax/feature_gate.rs +++ b/src/libsyntax/feature_gate.rs @@ -127,9 +127,6 @@ declare_features! ( (active, reflect, "1.0.0", Some(27749)), (active, unboxed_closures, "1.0.0", Some(29625)), - // rustc internal. - (active, pushpop_unsafe, "1.2.0", None), - (active, allocator, "1.0.0", Some(27389)), (active, fundamental, "1.0.0", Some(29635)), (active, main, "1.0.0", Some(29634)), @@ -313,9 +310,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), @@ -344,6 +338,7 @@ declare_features! ( // Allows using items which are missing stability attributes // rustc internal (removed, unmarked_api, "1.0.0", None), + (removed, pushpop_unsafe, "1.2.0", None), ); declare_features! ( diff --git a/src/tools/tidy/src/features.rs b/src/tools/tidy/src/features.rs index b0da6647eb9..10b509d58bf 100644 --- a/src/tools/tidy/src/features.rs +++ b/src/tools/tidy/src/features.rs @@ -165,10 +165,10 @@ pub fn check(path: &Path, bad: &mut bool) { // FIXME get this whitelist empty. let whitelist = vec