remove redundant clones
This commit is contained in:
parent
cec34a43b1
commit
abde841f0a
3 changed files with 4 additions and 4 deletions
|
@ -353,7 +353,7 @@ impl IntoDiagnostic<'_> for LinkingFailed<'_> {
|
|||
|
||||
let contains_undefined_ref = self.escaped_output.contains("undefined reference to");
|
||||
|
||||
diag.note(format!("{:?}", self.command)).note(self.escaped_output.to_string());
|
||||
diag.note(format!("{:?}", self.command)).note(self.escaped_output);
|
||||
|
||||
// Trying to match an error from OS linkers
|
||||
// which by now we have no way to translate.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue