Store a LocalDefId in hir::Variant & hir::Field.
This commit is contained in:
@@ -319,7 +319,7 @@ impl<'tcx> SaveContext<'tcx> {
|
||||
qualname,
|
||||
value,
|
||||
parent: None,
|
||||
children: def.variants.iter().map(|v| id_from_hir_id(v.id, self)).collect(),
|
||||
children: def.variants.iter().map(|v| id_from_hir_id(v.hir_id, self)).collect(),
|
||||
decl_id: None,
|
||||
docs: self.docs_for_attrs(attrs),
|
||||
sig: sig::item_signature(item, self),
|
||||
|
||||
Reference in New Issue
Block a user