diff options
| author | Eduard Burtescu <edy.burt@gmail.com> | 2016-08-01 04:25:32 +0300 |
|---|---|---|
| committer | Eduard Burtescu <edy.burt@gmail.com> | 2016-08-12 06:43:34 +0300 |
| commit | f0baec691f9bfcfc70d6f35b1a86f7cf204a7d4f (patch) | |
| tree | 02a32f5d6fbf04d9812324fbea662e50281454d2 /src/libsyntax/ast.rs | |
| parent | c976e073fda6bae5f11593913b244f33ce57d0d9 (diff) | |
| download | rust-f0baec691f9bfcfc70d6f35b1a86f7cf204a7d4f.tar.gz rust-f0baec691f9bfcfc70d6f35b1a86f7cf204a7d4f.zip | |
syntax: add anonymized type syntax, i.e. impl TraitA+TraitB.
Diffstat (limited to 'src/libsyntax/ast.rs')
| -rw-r--r-- | src/libsyntax/ast.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libsyntax/ast.rs b/src/libsyntax/ast.rs index a8bb255fba4..3f929e6d23a 100644 --- a/src/libsyntax/ast.rs +++ b/src/libsyntax/ast.rs @@ -1368,6 +1368,8 @@ pub enum TyKind { ObjectSum(P<Ty>, TyParamBounds), /// A type like `for<'a> Foo<&'a Bar>` PolyTraitRef(TyParamBounds), + /// An `impl TraitA+TraitB` type. + ImplTrait(TyParamBounds), /// No-op; kept solely so that we can pretty-print faithfully Paren(P<Ty>), /// Unused for now |
