From 2efe865d22eb85871562b2497ac819efc0174a3d Mon Sep 17 00:00:00 2001 From: Vadim Petrochenkov Date: Mon, 16 Jan 2017 23:33:45 +0300 Subject: AST/HIR: Merge ObjectSum and PolyTraitRef --- src/libsyntax/print/pprust.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/libsyntax/print') 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) => { -- cgit 1.4.1-3-g733a5