diff options
| author | bors <bors@rust-lang.org> | 2018-01-13 21:48:12 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-01-13 21:48:12 +0000 |
| commit | cf4c3cbe5524608fd3a8fcd626f3c73223022be7 (patch) | |
| tree | f805e0b886a4355f85d277d83731b16d19a6baad /src/libsyntax/feature_gate.rs | |
| parent | e6072a7b3835f1875e81c9fd27799f9b20a0770c (diff) | |
| parent | 22598776b04cc947f001191b47c18d981b46eec7 (diff) | |
| download | rust-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.rs | 7 |
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, |
