From e540c66e0914eb8cc1e97fddc9b19c57170e0544 Mon Sep 17 00:00:00 2001 From: hi-rustin Date: Tue, 12 Dec 2023 10:53:06 +0800 Subject: [PATCH] Remove the deleted feature `test_2018_feature` from the test Signed-off-by: hi-rustin --- tests/testsuite/cargo_features.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/testsuite/cargo_features.rs b/tests/testsuite/cargo_features.rs index d319ed686c3..8b7daa2148b 100644 --- a/tests/testsuite/cargo_features.rs +++ b/tests/testsuite/cargo_features.rs @@ -296,7 +296,7 @@ fn allow_features_to_rustc() { "src/lib.rs", r#" #![allow(internal_features)] - #![feature(test_2018_feature)] + #![feature(rustc_attrs)] "#, ) .build(); @@ -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( "\