Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
aortizpimentel committed Jan 27, 2023
1 parent 09f3293 commit d1309e3
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/cargo/core/compiler/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,13 @@ fn rustc(cx: &mut Context<'_, '_>, unit: &Unit, exec: &Arc<dyn Executor>) -> Car
1 => " due to previous error".to_string(),
count => format!(" due to {} previous errors", count),
};
format!("could not compile `{}` ({}) {}{}", name,target.description_named(), errors, warnings)
format!(
"could not compile `{}` ({}) {}{}",
name,
target.description_named(),
errors,
warnings
)
});

if let Err(e) = result {
Expand Down

0 comments on commit d1309e3

Please sign in to comment.