Remove the deleted feature test_2018_feature from the test

Signed-off-by: hi-rustin <rustin.liu@gmail.com>
This commit is contained in:
hi-rustin 2023-12-12 10:53:06 +08:00
parent a092469d46
commit e540c66e09

View File

@ -296,7 +296,7 @@ fn allow_features_to_rustc() {
"src/lib.rs", "src/lib.rs",
r#" r#"
#![allow(internal_features)] #![allow(internal_features)]
#![feature(test_2018_feature)] #![feature(rustc_attrs)]
"#, "#,
) )
.build(); .build();
@ -307,7 +307,7 @@ fn allow_features_to_rustc() {
.with_stderr_contains("[..]E0725[..]") .with_stderr_contains("[..]E0725[..]")
.run(); .run();
p.cargo("-Zallow-features=test_2018_feature check") p.cargo("-Zallow-features=rustc_attrs check")
.masquerade_as_nightly_cargo(&["allow-features"]) .masquerade_as_nightly_cargo(&["allow-features"])
.with_stderr( .with_stderr(
"\ "\