Skip to main content

add_field_to_struct_fix

Function add_field_to_struct_fix 

Source
fn add_field_to_struct_fix(
    ctx: &DiagnosticsContext<'_, '_>,
    adt_struct: Struct,
    field_name: &str,
    suggested_type: Type,
    error_range: FileRange,
) -> Option<Assist>