pub fn multispan_sugg_with_applicability<I>(
diag: &mut Diag<'_, ()>,
help_msg: impl Into<SubdiagMessage>,
applicability: Applicability,
sugg: I
)
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.