diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-05-27 15:27:56 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-05-27 15:27:56 +0100 |
commit | cc5d8069219a0a52f9c98b6766d2421eaf4664d8 (patch) | |
tree | 0e77f330f8fee0353893f5ca4d49e8b9bb6f7f63 /crates/hir/src | |
parent | d0a4ba294ccf0c925a5ff1115c19a60c6a24b734 (diff) | |
parent | 2268a220e4ba4ae6f45b564e5e88c2c62d22749d (diff) |
Merge #9024
9024: internal: Don't store supertraits in ItemTree r=jonas-schievink a=lnicola
Closes #9010
Co-authored-by: Laurențiu Nicola <[email protected]>
Diffstat (limited to 'crates/hir/src')
-rw-r--r-- | crates/hir/src/display.rs | 4 |
1 files changed, 0 insertions, 4 deletions
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 { | |||
427 | write!(f, "trait {}", data.name)?; | 427 | write!(f, "trait {}", data.name)?; |
428 | let def_id = GenericDefId::TraitId(self.id); | 428 | let def_id = GenericDefId::TraitId(self.id); |
429 | write_generic_params(def_id, f)?; | 429 | write_generic_params(def_id, f)?; |
430 | if !data.bounds.is_empty() { | ||
431 | write!(f, ": ")?; | ||
432 | f.write_joined(&*data.bounds, " + ")?; | ||
433 | } | ||
434 | write_where_clause(def_id, f)?; | 430 | write_where_clause(def_id, f)?; |
435 | Ok(()) | 431 | Ok(()) |
436 | } | 432 | } |