remove the rest of unnecessary to_string

This commit is contained in:
Takayuki Maeda 2022-06-17 18:48:09 +09:00
parent f8f9d01c2a
commit 72c73f8038

View File

@ -771,7 +771,7 @@ impl<T: LintContext> DiagnosticExt<T> for rustc_errors::Diagnostic {
}
}
self.span_suggestion(remove_span, msg, String::new(), applicability);
self.span_suggestion(remove_span, msg, "", applicability);
}
}