remove the rest of unnecessary to_string
This commit is contained in:
parent
f8f9d01c2a
commit
72c73f8038
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user