@@ -837,7 +837,7 @@ fn make_test(cx: &TestCollectorCx, collector: &mut TestCollector, testpaths: &Te
837
837
838
838
/// The path of the `stamp` file that gets created or updated whenever a
839
839
/// particular test completes successfully.
840
- fn stamp ( config : & Config , testpaths : & TestPaths , revision : Option < & str > ) -> PathBuf {
840
+ fn stamp_file_path ( config : & Config , testpaths : & TestPaths , revision : Option < & str > ) -> PathBuf {
841
841
output_base_dir ( config, testpaths, revision) . join ( "stamp" )
842
842
}
843
843
@@ -891,9 +891,9 @@ fn is_up_to_date(
891
891
props : & EarlyProps ,
892
892
revision : Option < & str > ,
893
893
) -> bool {
894
- let stamp_name = stamp ( & cx. config , testpaths, revision) ;
894
+ let stamp_file_path = stamp_file_path ( & cx. config , testpaths, revision) ;
895
895
// Check the config hash inside the stamp file.
896
- let contents = match fs:: read_to_string ( & stamp_name ) {
896
+ let contents = match fs:: read_to_string ( & stamp_file_path ) {
897
897
Ok ( f) => f,
898
898
Err ( ref e) if e. kind ( ) == ErrorKind :: InvalidData => panic ! ( "Can't read stamp contents" ) ,
899
899
// The test hasn't succeeded yet, so it is not up-to-date.
@@ -915,7 +915,7 @@ fn is_up_to_date(
915
915
916
916
// If no relevant files have been modified since the stamp file was last
917
917
// written, the test is up-to-date.
918
- inputs_stamp < Stamp :: from_path ( & stamp_name )
918
+ inputs_stamp < Stamp :: from_path ( & stamp_file_path )
919
919
}
920
920
921
921
/// The maximum of a set of file-modified timestamps.
0 commit comments