Skip to content

Commit e540c66

Browse files
committed
Remove the deleted feature test_2018_feature from the test
Signed-off-by: hi-rustin <[email protected]>
1 parent a092469 commit e540c66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/testsuite/cargo_features.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ fn allow_features_to_rustc() {
296296
"src/lib.rs",
297297
r#"
298298
#![allow(internal_features)]
299-
#![feature(test_2018_feature)]
299+
#![feature(rustc_attrs)]
300300
"#,
301301
)
302302
.build();
@@ -307,7 +307,7 @@ fn allow_features_to_rustc() {
307307
.with_stderr_contains("[..]E0725[..]")
308308
.run();
309309

310-
p.cargo("-Zallow-features=test_2018_feature check")
310+
p.cargo("-Zallow-features=rustc_attrs check")
311311
.masquerade_as_nightly_cargo(&["allow-features"])
312312
.with_stderr(
313313
"\

0 commit comments

Comments
 (0)