mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
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:
commit
fc790e7b2d
@ -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
|
||||
)
|
||||
}
|
||||
|
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user