summaryrefslogtreecommitdiffstats
path: root/src/tools/cargo/tests/testsuite/cargo_features.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/cargo/tests/testsuite/cargo_features.rs')
-rw-r--r--src/tools/cargo/tests/testsuite/cargo_features.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/cargo/tests/testsuite/cargo_features.rs b/src/tools/cargo/tests/testsuite/cargo_features.rs
index 6e5531431..ed5f53a1e 100644
--- a/src/tools/cargo/tests/testsuite/cargo_features.rs
+++ b/src/tools/cargo/tests/testsuite/cargo_features.rs
@@ -295,6 +295,7 @@ fn allow_features_to_rustc() {
.file(
"src/lib.rs",
r#"
+ #![allow(internal_features)]
#![feature(test_2018_feature)]
"#,
)