mirror of
https://github.com/rust-lang/cargo
synced 2024-08-25 02:25:46 +00:00
Refine name
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
This commit is contained in:
parent
10cfa40669
commit
5ccb5a3f92
|
@ -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()
|
||||
);
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue