Skip to main content

quick_fix_edits

Function quick_fix_edits 

Source
pub fn quick_fix_edits(diag: &Diagnostic) -> Vec<(String, Range)>
Expand description

The did-you-mean quick-fix edits for one published diagnostic, as (suggestion, range to replace). Empty for any other diagnostic.