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