Auto merge of #12781 - dvdhrm:pr/target-typo, r=epage

cargo/targets: fix error-message typo

Fix typo: "with with" -> "with"
This commit is contained in:
bors 2023-10-06 13:59:27 +00:00
commit fc790e7b2d
2 changed files with 2 additions and 2 deletions

View File

@ -309,7 +309,7 @@ fn clean_bins(
if restricted_names::is_conflicting_artifact_name(&name) {
anyhow::bail!(
"the binary target name `{}` is forbidden, \
it conflicts with with cargo's build directory names",
it conflicts with cargo's build directory names",
name
)
}

View File

@ -488,7 +488,7 @@ fn cargo_compile_with_forbidden_bin_target_name() {
[ERROR] failed to parse manifest at `[..]`
Caused by:
the binary target name `build` is forbidden, it conflicts with with cargo's build directory names
the binary target name `build` is forbidden, it conflicts with cargo's build directory names
",
)
.run();