Skip to main content

field_types_with_diagnostics

Function field_types_with_diagnostics 

Source
pub(crate) fn field_types_with_diagnostics<'db>(
    db: &'db dyn HirDatabase,
    variant_id: VariantId,
) -> &'db TyLoweringResult<'db, ArenaMap<LocalFieldId, FieldType>>
Expand description

Build the type of all specific fields of a struct or enum variant.