|
338 | 338 | p.cargo("run -p bar --features f1,f2")
|
339 | 339 | .with_status(101)
|
340 | 340 | .with_stderr_data(str![[r#"
|
341 |
| -[ERROR] Package `foo v0.1.0 ([ROOT]/foo)` does not have the feature `f2` |
| 341 | +[ERROR] package `foo v0.1.0 ([ROOT]/foo)` does not have the feature `f2` |
342 | 342 |
|
343 | 343 | [HELP] a feature with a similar name exists: `f1`
|
344 | 344 |
|
@@ -406,7 +406,7 @@ fn feature_default_resolver() {
|
406 | 406 | p.cargo("check --features testt")
|
407 | 407 | .with_status(101)
|
408 | 408 | .with_stderr_data(str![[r#"
|
409 |
| -[ERROR] Package `a v0.1.0 ([ROOT]/foo)` does not have the feature `testt` |
| 409 | +[ERROR] package `a v0.1.0 ([ROOT]/foo)` does not have the feature `testt` |
410 | 410 |
|
411 | 411 | [HELP] a feature with a similar name exists: `test`
|
412 | 412 |
|
@@ -458,7 +458,9 @@ fn command_line_optional_dep() {
|
458 | 458 | .with_stderr_data(str![[r#"
|
459 | 459 | [UPDATING] `dummy-registry` index
|
460 | 460 | [LOCKING] 1 package to latest compatible version
|
461 |
| -[ERROR] Package `a v0.1.0 ([ROOT]/foo)` does not have feature `bar`. It has an optional dependency with that name, but that dependency uses the "dep:" syntax in the features table, so it does not have an implicit feature with that name. |
| 461 | +[ERROR] package `a v0.1.0 ([ROOT]/foo)` does not have feature `bar` |
| 462 | +
|
| 463 | +[HELP] an optional dependency with that name exists, but the `features` table includes it with the "dep:" syntax so it does not have an implicit feature with that name |
462 | 464 | Dependency `bar` would be enabled by these features:
|
463 | 465 | - `foo`
|
464 | 466 |
|
@@ -496,7 +498,9 @@ fn command_line_optional_dep_three_options() {
|
496 | 498 | .with_stderr_data(str![[r#"
|
497 | 499 | [UPDATING] `dummy-registry` index
|
498 | 500 | [LOCKING] 1 package to latest compatible version
|
499 |
| -[ERROR] Package `a v0.1.0 ([ROOT]/foo)` does not have feature `bar`. It has an optional dependency with that name, but that dependency uses the "dep:" syntax in the features table, so it does not have an implicit feature with that name. |
| 501 | +[ERROR] package `a v0.1.0 ([ROOT]/foo)` does not have feature `bar` |
| 502 | +
|
| 503 | +[HELP] an optional dependency with that name exists, but the `features` table includes it with the "dep:" syntax so it does not have an implicit feature with that name |
500 | 504 | Dependency `bar` would be enabled by these features:
|
501 | 505 | - `f1`
|
502 | 506 | - `f2`
|
@@ -537,7 +541,9 @@ fn command_line_optional_dep_many_options() {
|
537 | 541 | .with_stderr_data(str![[r#"
|
538 | 542 | [UPDATING] `dummy-registry` index
|
539 | 543 | [LOCKING] 1 package to latest compatible version
|
540 |
| -[ERROR] Package `a v0.1.0 ([ROOT]/foo)` does not have feature `bar`. It has an optional dependency with that name, but that dependency uses the "dep:" syntax in the features table, so it does not have an implicit feature with that name. |
| 544 | +[ERROR] package `a v0.1.0 ([ROOT]/foo)` does not have feature `bar` |
| 545 | +
|
| 546 | +[HELP] an optional dependency with that name exists, but the `features` table includes it with the "dep:" syntax so it does not have an implicit feature with that name |
541 | 547 | Dependency `bar` would be enabled by these features:
|
542 | 548 | - `f1`
|
543 | 549 | - `f2`
|
@@ -583,7 +589,9 @@ fn command_line_optional_dep_many_paths() {
|
583 | 589 | .with_stderr_data(str![[r#"
|
584 | 590 | [UPDATING] `dummy-registry` index
|
585 | 591 | [LOCKING] 1 package to latest compatible version
|
586 |
| -[ERROR] Package `a v0.1.0 ([ROOT]/foo)` does not have feature `bar`. It has an optional dependency with that name, but that dependency uses the "dep:" syntax in the features table, so it does not have an implicit feature with that name. |
| 592 | +[ERROR] package `a v0.1.0 ([ROOT]/foo)` does not have feature `bar` |
| 593 | +
|
| 594 | +[HELP] an optional dependency with that name exists, but the `features` table includes it with the "dep:" syntax so it does not have an implicit feature with that name |
587 | 595 | Dependency `bar` would be enabled by these features:
|
588 | 596 | - `f1`
|
589 | 597 | - `f2`
|
@@ -820,7 +828,7 @@ m1-feature set
|
820 | 828 | .cwd("member2")
|
821 | 829 | .with_status(101)
|
822 | 830 | .with_stderr_data(str![[r#"
|
823 |
| -[ERROR] Package `member1 v0.1.0 ([ROOT]/foo/member1)` does not have the feature `m2-feature` |
| 831 | +[ERROR] package `member1 v0.1.0 ([ROOT]/foo/member1)` does not have the feature `m2-feature` |
824 | 832 |
|
825 | 833 | [HELP] a feature with a similar name exists: `m1-feature`
|
826 | 834 |
|
|
0 commit comments