Skip to content

Commit 2bef76a

Browse files
committed
Improve error message on missing feature gate
1 parent 5e11afc commit 2bef76a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/core/manifest.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ impl Manifest {
520520
.require(Feature::per_package_target())
521521
.chain_err(|| {
522522
anyhow::format_err!(
523-
"the `package.default-kind` and `package.forced-kind` \
523+
"the `package.default-target` and `package.forced-target` \
524524
manifest keys are unstable and may not work properly"
525525
)
526526
})?;

0 commit comments

Comments
 (0)