Skip to content

Commit

Permalink
Fixes issue #10834
Browse files Browse the repository at this point in the history
  • Loading branch information
aortizpimentel committed Jan 27, 2023
1 parent 9d1e248 commit 09f3293
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cargo/core/compiler/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ 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, errors, warnings)
format!("could not compile `{}` ({}) {}{}", name,target.description_named(), errors, warnings)
});

if let Err(e) = result {
Expand Down

0 comments on commit 09f3293

Please sign in to comment.