From 2268a220e4ba4ae6f45b564e5e88c2c62d22749d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauren=C8=9Biu=20Nicola?= Date: Thu, 27 May 2021 16:52:15 +0300 Subject: Don't store supertraits in ItemTree --- crates/hir/src/display.rs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'crates/hir/src/display.rs') diff --git a/crates/hir/src/display.rs b/crates/hir/src/display.rs index c5cf803fd..72f0d9b5f 100644 --- a/crates/hir/src/display.rs +++ b/crates/hir/src/display.rs @@ -427,10 +427,6 @@ impl HirDisplay for Trait { write!(f, "trait {}", data.name)?; let def_id = GenericDefId::TraitId(self.id); write_generic_params(def_id, f)?; - if !data.bounds.is_empty() { - write!(f, ": ")?; - f.write_joined(&*data.bounds, " + ")?; - } write_where_clause(def_id, f)?; Ok(()) } -- cgit v1.2.3