about summary refs log tree commit diff
path: root/src/libsyntax/feature_gate.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-01-13 21:48:12 +0000
committerbors <bors@rust-lang.org>2018-01-13 21:48:12 +0000
commitcf4c3cbe5524608fd3a8fcd626f3c73223022be7 (patch)
treef805e0b886a4355f85d277d83731b16d19a6baad /src/libsyntax/feature_gate.rs
parente6072a7b3835f1875e81c9fd27799f9b20a0770c (diff)
parent22598776b04cc947f001191b47c18d981b46eec7 (diff)
downloadrust-cf4c3cbe5524608fd3a8fcd626f3c73223022be7.tar.gz
rust-cf4c3cbe5524608fd3a8fcd626f3c73223022be7.zip
Auto merge of #47416 - petrochenkov:remove-impl-for-dot-dot, r=petrochenkov
Remove `impl Foo for .. {}` in favor `auto trait Foo {}`

Rebase of https://github.com/rust-lang/rust/pull/46480 with restored parsing support.
Diffstat (limited to 'src/libsyntax/feature_gate.rs')
-rw-r--r--src/libsyntax/feature_gate.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs
index b474a299058..c3bf5dbff5c 100644
--- a/src/libsyntax/feature_gate.rs
+++ b/src/libsyntax/feature_gate.rs
@@ -1532,13 +1532,6 @@ impl<'a> Visitor<'a> for PostExpansionVisitor<'a> {
                                    "trait aliases are not yet fully implemented");
             }
 
-            ast::ItemKind::AutoImpl(..) => {
-                gate_feature_post!(&self, optin_builtin_traits,
-                                   i.span,
-                                   "auto trait implementations are experimental \
-                                    and possibly buggy");
-            }
-
             ast::ItemKind::Impl(_, polarity, defaultness, _, _, _, ref impl_items) => {
                 if polarity == ast::ImplPolarity::Negative {
                     gate_feature_post!(&self, optin_builtin_traits,