mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00
Fix test for package_features for help
This commit is contained in:
parent
c882b8ec6f
commit
ca91c5db5c
@ -57,6 +57,7 @@ fn virtual_no_default_features() {
|
|||||||
"\
|
"\
|
||||||
[ERROR] --no-default-features is not allowed in the root of a virtual workspace
|
[ERROR] --no-default-features is not allowed in the root of a virtual workspace
|
||||||
[NOTE] while this was previously accepted, it didn't actually do anything
|
[NOTE] while this was previously accepted, it didn't actually do anything
|
||||||
|
[HELP] try cd into the package and run cargo command
|
||||||
",
|
",
|
||||||
)
|
)
|
||||||
.run();
|
.run();
|
||||||
@ -125,6 +126,7 @@ fn virtual_features() {
|
|||||||
"\
|
"\
|
||||||
[ERROR] --features is not allowed in the root of a virtual workspace
|
[ERROR] --features is not allowed in the root of a virtual workspace
|
||||||
[NOTE] while this was previously accepted, it didn't actually do anything
|
[NOTE] while this was previously accepted, it didn't actually do anything
|
||||||
|
[HELP] try cd into the package and run cargo command
|
||||||
",
|
",
|
||||||
)
|
)
|
||||||
.run();
|
.run();
|
||||||
@ -202,6 +204,7 @@ fn virtual_with_specific() {
|
|||||||
"\
|
"\
|
||||||
[ERROR] --features is not allowed in the root of a virtual workspace
|
[ERROR] --features is not allowed in the root of a virtual workspace
|
||||||
[NOTE] while this was previously accepted, it didn't actually do anything
|
[NOTE] while this was previously accepted, it didn't actually do anything
|
||||||
|
[HELP] try cd into the package and run cargo command
|
||||||
",
|
",
|
||||||
)
|
)
|
||||||
.run();
|
.run();
|
||||||
@ -371,6 +374,7 @@ fn virtual_member_slash() {
|
|||||||
"\
|
"\
|
||||||
[ERROR] --features is not allowed in the root of a virtual workspace
|
[ERROR] --features is not allowed in the root of a virtual workspace
|
||||||
[NOTE] while this was previously accepted, it didn't actually do anything
|
[NOTE] while this was previously accepted, it didn't actually do anything
|
||||||
|
[HELP] try cd into the package and run cargo command
|
||||||
",
|
",
|
||||||
)
|
)
|
||||||
.run();
|
.run();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user