pub fn multispan_sugg_with_applicability<I>(
diag: &mut Diagnostic,
help_msg: &str,
applicability: Applicability,
sugg: I
)where
I: IntoIterator<Item = (Span, String)>,
Expand description
Create a suggestion made from several span → replacement
.
rustfix currently doesn’t support the automatic application of suggestions with multiple spans. This is tracked in issue rustfix#141. Suggestions with multiple spans will be silently ignored.