From bce176d9a7b1f7e1fbc485ab0d0a9c8af03ae32a Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Sat, 31 Aug 2024 12:59:19 +0200 Subject: [PATCH] tidy: say which feature gate has a stability issue mismatch --- src/tools/tidy/src/features.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tools/tidy/src/features.rs b/src/tools/tidy/src/features.rs index a4d27d29d32..4f24eb21242 100644 --- a/src/tools/tidy/src/features.rs +++ b/src/tools/tidy/src/features.rs @@ -455,9 +455,10 @@ fn get_and_check_lib_features( if f.tracking_issue != s.tracking_issue && f.level != Status::Accepted { tidy_error!( bad, - "{}:{}: `issue` \"{}\" mismatches the {} `issue` of \"{}\"", + "{}:{}: feature gate {} has inconsistent `issue`: \"{}\" mismatches the {} `issue` of \"{}\"", file.display(), line, + name, f.tracking_issue_display(), display, s.tracking_issue_display(),