Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 4885127

Browse files
committed
Fix compiletest
1 parent eddfc2e commit 4885127

File tree

1 file changed

+1
-1
lines changed
  • src/tools/compiletest/src

1 file changed

+1
-1
lines changed

src/tools/compiletest/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -745,7 +745,7 @@ fn modified_tests(config: &Config, dir: &Utf8Path) -> Result<Vec<Utf8PathBuf>, S
745745
&vec!["rs", "stderr", "fixed"],
746746
)?;
747747
// Add new test cases to the list, it will be convenient in daily development.
748-
let untracked_files = get_git_untracked_files(Some(dir))?.unwrap_or(vec![]);
748+
let untracked_files = get_git_untracked_files(Some(dir.as_std_path()))?.unwrap_or(vec![]);
749749

750750
let all_paths = [&files[..], &untracked_files[..]].concat();
751751
let full_paths = {

0 commit comments

Comments
 (0)