mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 20:42:04 +00:00
internal: normalize name
All def types in hir are unsubstituted
This commit is contained in:
parent
49b219b103
commit
cb3ef552e8
5 changed files with 6 additions and 6 deletions
|
@ -170,7 +170,7 @@ impl HirDisplay for Field {
|
|||
fn hir_fmt(&self, f: &mut HirFormatter) -> Result<(), HirDisplayError> {
|
||||
write_visibility(self.parent.module(f.db).id, self.visibility(f.db), f)?;
|
||||
write!(f, "{}: ", self.name(f.db))?;
|
||||
self.signature_ty(f.db).hir_fmt(f)
|
||||
self.ty(f.db).hir_fmt(f)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue