From 7e905b26f0bb62e42624467e1d952dffda11c8b3 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Mon, 15 Sep 2025 11:34:20 +0200 Subject: [PATCH] make tidy slightly less noisy --- src/tools/tidy/src/error_codes.rs | 2 +- src/tools/tidy/src/rustdoc_json.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/tools/tidy/src/error_codes.rs b/src/tools/tidy/src/error_codes.rs index 65aa89fe80169..6fe8d34c4c86f 100644 --- a/src/tools/tidy/src/error_codes.rs +++ b/src/tools/tidy/src/error_codes.rs @@ -95,7 +95,7 @@ fn check_removed_error_code_explanation(ci_info: &crate::CiInfo, bad: &mut bool) eprintln!("Take a look at E0001 to see how to handle it."); return; } - println!("No error code explanation was removed!"); + // All good, no error code explanation was removed. } /// Stage 1: Parses a list of error codes from `error_codes.rs`. diff --git a/src/tools/tidy/src/rustdoc_json.rs b/src/tools/tidy/src/rustdoc_json.rs index 722e1ebd0cad2..15d1d84929ec8 100644 --- a/src/tools/tidy/src/rustdoc_json.rs +++ b/src/tools/tidy/src/rustdoc_json.rs @@ -16,7 +16,6 @@ pub fn check(src_path: &Path, ci_info: &crate::CiInfo, bad: &mut bool) { // First we check that `src/rustdoc-json-types` was modified. if !crate::files_modified(ci_info, |p| p == RUSTDOC_JSON_TYPES) { // `rustdoc-json-types` was not modified so nothing more to check here. - println!("`rustdoc-json-types` was not modified."); return; } // Then we check that if `FORMAT_VERSION` was updated, the `Latest feature:` was also updated.