diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-03-23 15:07:21 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-03-23 15:07:21 -0700 |
| commit | ec1a85a85c784a8481ea7f6d28453239db716829 (patch) | |
| tree | f378e7d448169c3a69e072fea63182ddb736c6bb /src/libsyntax | |
| parent | ad41e7cd7a3d1969e666508d7e4a3ba305cee2ec (diff) | |
| parent | 04d57729fcf058026d35acdd65fd5539166d838f (diff) | |
| download | rust-ec1a85a85c784a8481ea7f6d28453239db716829.tar.gz rust-ec1a85a85c784a8481ea7f6d28453239db716829.zip | |
rollup merge of #23211: FlaPer87/oibit-send-and-friends
Fixes #23225 r? @nikomatsakis
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/feature_gate.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs index 0a9980c8925..f5e891a9dd6 100644 --- a/src/libsyntax/feature_gate.rs +++ b/src/libsyntax/feature_gate.rs @@ -563,6 +563,13 @@ impl<'a, 'v> Visitor<'v> for PostExpansionVisitor<'a> { } } + ast::ItemDefaultImpl(..) => { + self.gate_feature("optin_builtin_traits", + i.span, + "default trait implementations are experimental \ + and possibly buggy"); + } + ast::ItemImpl(_, polarity, _, _, _, _) => { match polarity { ast::ImplPolarity::Negative => { |
