Skip to content

Commit

Permalink
Remove the deleted feature test_2018_feature from the test
Browse files Browse the repository at this point in the history
Signed-off-by: hi-rustin <[email protected]>
  • Loading branch information
Rustin170506 committed Dec 12, 2023
1 parent a092469 commit e540c66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testsuite/cargo_features.rs
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ fn allow_features_to_rustc() {
"src/lib.rs",
r#"
#![allow(internal_features)]
#![feature(test_2018_feature)]
#![feature(rustc_attrs)]
"#,
)
.build();
Expand All @@ -307,7 +307,7 @@ fn allow_features_to_rustc() {
.with_stderr_contains("[..]E0725[..]")
.run();

p.cargo("-Zallow-features=test_2018_feature check")
p.cargo("-Zallow-features=rustc_attrs check")
.masquerade_as_nightly_cargo(&["allow-features"])
.with_stderr(
"\
Expand Down

0 comments on commit e540c66

Please sign in to comment.