Skip to content

Patch

A suggested source edit attached to a Diagnostic.

Fields

message @ Str

Human-readable text describing the suggested change.

span @ Span

The span to replace.

sub @ Str

The replacement text.