@@ -23,16 +23,17 @@ fn package_requires_option() {
23
23
24
24
foo. cargo ( "check" )
25
25
. with_status ( 0 )
26
- . with_stderr ( "\
27
- warning: feature `lints` is required
28
-
29
- The package requires the Cargo feature called `lints`, but that feature is not stabilized in this version of Cargo ([..]).
30
- Consider trying a newer version of Cargo (this may require the nightly release).
31
- See https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#lints for more information about the status of this feature.
26
+ . with_stderr (
27
+ "\
28
+ warning: feature `lints` is not supported on this version of Cargo and will be ignored
32
29
30
+ this Cargo does not support nightly features, but if you
31
+ switch to nightly channel you can add
32
+ `cargo-features = [\" lints\" ]` to enable this feature
33
33
[CHECKING] [..]
34
34
[FINISHED] [..]
35
- " )
35
+ " ,
36
+ )
36
37
. run ( ) ;
37
38
}
38
39
@@ -56,16 +57,17 @@ fn workspace_requires_option() {
56
57
57
58
foo. cargo ( "check" )
58
59
. with_status ( 0 )
59
- . with_stderr ( "\
60
- warning: feature `lints` is required
61
-
62
- The package requires the Cargo feature called `lints`, but that feature is not stabilized in this version of Cargo ([..]).
63
- Consider trying a newer version of Cargo (this may require the nightly release).
64
- See https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#lints for more information about the status of this feature.
60
+ . with_stderr (
61
+ "\
62
+ warning: feature `lints` is not supported on this version of Cargo and will be ignored
65
63
64
+ this Cargo does not support nightly features, but if you
65
+ switch to nightly channel you can add
66
+ `cargo-features = [\" lints\" ]` to enable this feature
66
67
[CHECKING] [..]
67
68
[FINISHED] [..]
68
- " )
69
+ " ,
70
+ )
69
71
. run ( ) ;
70
72
}
71
73
@@ -90,12 +92,11 @@ fn malformed_on_stable() {
90
92
. with_status ( 0 )
91
93
. with_stderr (
92
94
"\
93
- warning: feature `lints` is required
94
-
95
- The package requires the Cargo feature called `lints`, but that feature is not stabilized in this version of Cargo ([..]).
96
- Consider trying a newer version of Cargo (this may require the nightly release).
97
- See https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#lints for more information about the status of this feature.
95
+ warning: feature `lints` is not supported on this version of Cargo and will be ignored
98
96
97
+ this Cargo does not support nightly features, but if you
98
+ switch to nightly channel you can add
99
+ `cargo-features = [\" lints\" ]` to enable this feature
99
100
[CHECKING] [..]
100
101
[FINISHED] [..]
101
102
" ,
0 commit comments