Compute diagnostics of a field body iff it has one

This commit is contained in:
Shoyu Vanilla 2025-01-26 23:33:33 +09:00
parent c134b20c9c
commit b4d4d02db8
10 changed files with 64 additions and 22 deletions

View file

@ -519,6 +519,7 @@ pub type LocalModuleId = Idx<nameres::ModuleData>;
pub struct FieldId {
pub parent: VariantId,
pub local_id: LocalFieldId,
pub has_default: bool,
}
impl FieldId {