@@ -1119,13 +1119,13 @@ fn test_edition() {
1119
1119
assert_that (
1120
1120
p. cargo ( "build" ) . arg ( "-v" ) . masquerade_as_nightly_cargo ( ) ,
1121
1121
execs ( )
1122
- // -Zedition is still in flux and we're not passing -Zunstable-options
1122
+ // --edition is still in flux and we're not passing -Zunstable-options
1123
1123
// from Cargo so it will probably error. Only partially match the output
1124
1124
// until stuff stabilizes
1125
1125
. with_stderr_contains ( format ! ( "\
1126
1126
[COMPILING] foo v0.0.1 ({url})
1127
1127
[RUNNING] `rustc --crate-name foo src[/]lib.rs --crate-type lib \
1128
- --emit=dep-info,link -Zedition =2018 -C debuginfo=2 \
1128
+ --emit=dep-info,link --edition =2018 -C debuginfo=2 \
1129
1129
-C metadata=[..] \
1130
1130
--out-dir [..] \
1131
1131
-L dependency={dir}[/]target[/]debug[/]deps`
@@ -1153,13 +1153,13 @@ fn test_edition_missing() {
1153
1153
assert_that (
1154
1154
p. cargo ( "build" ) . arg ( "-v" ) . masquerade_as_nightly_cargo ( ) ,
1155
1155
execs ( )
1156
- // -Zedition is still in flux and we're not passing -Zunstable-options
1156
+ // --edition is still in flux and we're not passing -Zunstable-options
1157
1157
// from Cargo so it will probably error. Only partially match the output
1158
1158
// until stuff stabilizes
1159
1159
. with_stderr_contains ( format ! ( "\
1160
1160
[COMPILING] foo v0.0.1 ({url})
1161
1161
[RUNNING] `rustc --crate-name foo src[/]lib.rs --crate-type lib \
1162
- --emit=dep-info,link -Zedition =2015 -C debuginfo=2 \
1162
+ --emit=dep-info,link --edition =2015 -C debuginfo=2 \
1163
1163
-C metadata=[..] \
1164
1164
--out-dir [..] \
1165
1165
-L dependency={dir}[/]target[/]debug[/]deps`
0 commit comments