mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +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) {
|
if restricted_names::is_conflicting_artifact_name(&name) {
|
||||||
anyhow::bail!(
|
anyhow::bail!(
|
||||||
"the binary target name `{}` is forbidden, \
|
"the binary target name `{}` is forbidden, \
|
||||||
it conflicts with with cargo's build directory names",
|
it conflicts with cargo's build directory names",
|
||||||
name
|
name
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
@ -488,7 +488,7 @@ fn cargo_compile_with_forbidden_bin_target_name() {
|
|||||||
[ERROR] failed to parse manifest at `[..]`
|
[ERROR] failed to parse manifest at `[..]`
|
||||||
|
|
||||||
Caused by:
|
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();
|
.run();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user