diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2017-01-16 23:33:45 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2017-01-17 01:52:47 +0300 |
| commit | 2efe865d22eb85871562b2497ac819efc0174a3d (patch) | |
| tree | 8391f7670462a2536057f9c22c3aa87f90a79d20 /src/libsyntax/print | |
| parent | 828404684b486a2b741858970a150530228258bb (diff) | |
| download | rust-2efe865d22eb85871562b2497ac819efc0174a3d.tar.gz rust-2efe865d22eb85871562b2497ac819efc0174a3d.zip | |
AST/HIR: Merge ObjectSum and PolyTraitRef
Diffstat (limited to 'src/libsyntax/print')
| -rw-r--r-- | src/libsyntax/print/pprust.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/libsyntax/print/pprust.rs b/src/libsyntax/print/pprust.rs index f6ed2350105..31e6f25559d 100644 --- a/src/libsyntax/print/pprust.rs +++ b/src/libsyntax/print/pprust.rs @@ -1028,11 +1028,7 @@ impl<'a> State<'a> { ast::TyKind::Path(Some(ref qself), ref path) => { self.print_qpath(path, qself, false)? } - ast::TyKind::ObjectSum(ref ty, ref bounds) => { - self.print_type(&ty)?; - self.print_bounds("+", &bounds[..])?; - } - ast::TyKind::PolyTraitRef(ref bounds) => { + ast::TyKind::ObjectSum(ref bounds) => { self.print_bounds("", &bounds[..])?; } ast::TyKind::ImplTrait(ref bounds) => { |
