about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--tests/missing-test-files.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/missing-test-files.rs b/tests/missing-test-files.rs
index 565dcd73f58..63f960c92fa 100644
--- a/tests/missing-test-files.rs
+++ b/tests/missing-test-files.rs
@@ -1,6 +1,6 @@
 #![warn(rust_2018_idioms, unused_lifetimes)]
 #![allow(clippy::assertions_on_constants)]
-#![feature(path_file_prefix)]
+#![cfg_attr(bootstrap, feature(path_file_prefix))]
 
 use std::cmp::Ordering;
 use std::ffi::OsStr;