Refine name

Signed-off-by: hi-rustin <rustin.liu@gmail.com>
This commit is contained in:
hi-rustin 2021-07-25 00:35:09 +08:00
parent 10cfa40669
commit 5ccb5a3f92
2 changed files with 2 additions and 2 deletions

View file

@ -77,7 +77,7 @@ fn do_read_manifest(
if let Some(feats) = package.get("cargo-features") {
bail!(
"cargo-features = {} was found in the wrong location: it \
should be set at the top of Cargo.toml before any sections",
should be set at the top of Cargo.toml before any tables",
toml::to_string(feats).unwrap()
);
}

View file

@ -648,7 +648,7 @@ error: failed to parse manifest at [..]
Caused by:
cargo-features = [\"test-dummy-unstable\"] was found in the wrong location: it \
should be set at the top of Cargo.toml before any sections
should be set at the top of Cargo.toml before any tables
",
)
.run();