Skip to content

Commit d1309e3

Browse files
cargo fmt
1 parent 09f3293 commit d1309e3

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/cargo/core/compiler/mod.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,13 @@ fn rustc(cx: &mut Context<'_, '_>, unit: &Unit, exec: &Arc<dyn Executor>) -> Car
413413
1 => " due to previous error".to_string(),
414414
count => format!(" due to {} previous errors", count),
415415
};
416-
format!("could not compile `{}` ({}) {}{}", name,target.description_named(), errors, warnings)
416+
format!(
417+
"could not compile `{}` ({}) {}{}",
418+
name,
419+
target.description_named(),
420+
errors,
421+
warnings
422+
)
417423
});
418424

419425
if let Err(e) = result {

0 commit comments

Comments
 (0)