about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJakub Beránek <berykubik@gmail.com>2025-08-13 07:03:47 +0200
committerGitHub <noreply@github.com>2025-08-13 07:03:47 +0200
commitd42a48d91813fab843174f26e2504c869f9a211e (patch)
tree1b76b3a498e391c988dcb65774ff7bfd7d5b529d
parenta493e276b5db66a87ba749deebc96714a624f00e (diff)
parent849f71f02564f1c726848efa4c70673128cd64d2 (diff)
downloadrust-d42a48d91813fab843174f26e2504c869f9a211e.tar.gz
rust-d42a48d91813fab843174f26e2504c869f9a211e.zip
Rollup merge of #144870 - Kivooeo:file_prefix-stabilize, r=tgross35
Stabilize `path_file_prefix` feature

This stabilises `Path::file_prefix`, following the FCP in [tracking issue ](https://github.com/rust-lang/rust/issues/86319)

(FCP ended almost a year ago, so if it's needed for proccess we could rerun it)

Closes: https://github.com/rust-lang/rust/issues/86319
-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;