pub fn edits(text: &str, diagnostics: &[Diagnostic]) -> Vec<(Span, String)>Expand description
Every edit fix-all would apply to text, the file whose diagnostics
these are, sorted by position and non-overlapping. Empty when there is
nothing to fix. A suggestion with an edit span that isn’t valid for text
(out of bounds, reversed, or off a char boundary) is skipped whole.