]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/tidy/src/bins.rs
Auto merge of #102700 - oli-obk:0xDEAD_TAIT, r=compiler-errors
[rust.git] / src / tools / tidy / src / bins.rs
index 30903f56d93b03ffd1450538121e69a09cf220ee..b898f20a5d018b30a0b47bbd6452ca25547adc04 100644 (file)
@@ -21,6 +21,7 @@ pub fn check(_path: &Path, _bad: &mut bool) {}
 
 #[cfg(unix)]
 mod os_impl {
+    use crate::walk::{filter_dirs, walk_no_read};
     use std::fs;
     use std::os::unix::prelude::*;
     use std::path::Path;
@@ -100,10 +101,10 @@ pub fn check(path: &Path, bad: &mut bool) {
 
         const ALLOWED: &[&str] = &["configure", "x"];
 
-        crate::walk_no_read(
+        walk_no_read(
             path,
             &mut |path| {
-                crate::filter_dirs(path)
+                filter_dirs(path)
                     || path.ends_with("src/etc")
                     // This is a list of directories that we almost certainly
                     // don't need to walk. A future PR will likely want to