mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 20:42:04 +00:00
Don't store supertraits in ItemTree
This commit is contained in:
parent
d0a4ba294c
commit
2268a220e4
6 changed files with 3 additions and 17 deletions
|
@ -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(())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue