@@ -12,10 +12,10 @@ use std::path::{Path, PathBuf};
1212// should all be 1000 or lower. Limits significantly smaller than 1000 are also 
1313// desirable, because large numbers of files are unwieldy in general. See issue 
1414// #73494. 
15- const  ENTRY_LIMIT :  usize  = 900 ; 
15+ const  ENTRY_LIMIT :  u32  = 900 ; 
1616// FIXME: The following limits should be reduced eventually. 
1717
18- const  ISSUES_ENTRY_LIMIT :  usize  = 1676 ; 
18+ const  ISSUES_ENTRY_LIMIT :  u32  = 1676 ; 
1919
2020const  EXPECTED_TEST_FILE_EXTENSIONS :  & [ & str ]  = & [ 
2121    "rs" ,      // test source files 
@@ -53,7 +53,7 @@ const EXTENSION_EXCEPTION_PATHS: &[&str] = &[
5353] ; 
5454
5555fn  check_entries ( tests_path :  & Path ,  bad :  & mut  bool )  { 
56-     let  mut  directories:  HashMap < PathBuf ,  usize >  = HashMap :: new ( ) ; 
56+     let  mut  directories:  HashMap < PathBuf ,  u32 >  = HashMap :: new ( ) ; 
5757
5858    for  dir in  Walk :: new ( & tests_path. join ( "ui" ) )  { 
5959        if  let  Ok ( entry)  = dir { 
@@ -62,7 +62,7 @@ fn check_entries(tests_path: &Path, bad: &mut bool) {
6262        } 
6363    } 
6464
65-     let  ( mut  max,  mut  max_issues)  = ( 0usize ,   0usize ) ; 
65+     let  ( mut  max,  mut  max_issues)  = ( 0 ,   0 ) ; 
6666    for  ( dir_path,  count)  in  directories { 
6767        let  is_issues_dir = tests_path. join ( "ui/issues" )  == dir_path; 
6868        let  ( limit,  maxcnt)  = if  is_issues_dir { 
0 commit comments