internal: normalize name
All def types in hir are unsubstituted
This commit is contained in:
@@ -93,7 +93,7 @@ impl<'a> EnumRender<'a> {
|
||||
.variant
|
||||
.fields(self.ctx.db())
|
||||
.into_iter()
|
||||
.map(|field| (field.name(self.ctx.db()), field.signature_ty(self.ctx.db())));
|
||||
.map(|field| (field.name(self.ctx.db()), field.ty(self.ctx.db())));
|
||||
|
||||
match self.variant_kind {
|
||||
StructKind::Tuple | StructKind::Unit => format!(
|
||||
|
||||
Reference in New Issue
Block a user