Skip to main content

lone_fix

Function lone_fix 

Source
pub fn lone_fix(error: &CompileError) -> Option<&Suggestion>
Expand description

The one machine-applicable suggestion error carries, if it carries exactly one. None for no fix, a placeholder fix, or a choice between candidates.