Function clippy_lints::utils::multispan_sugg
[−]
[src]
pub fn multispan_sugg(db: &mut DiagnosticBuilder,
help_msg: String,
sugg: &[(Span, &str)])
Create a suggestion made from several span → replacement
.
Note: in the JSON format (used by compiletest_rs
), the help message will appear once per
replacement. In human-readable format though, it only appears once before the whole suggestion.