about summary refs log tree commit diff
path: root/src/tools/tidy
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-08-31 12:59:19 +0200
committerRalf Jung <post@ralfj.de>2024-08-31 13:35:52 +0200
commitbce176d9a7b1f7e1fbc485ab0d0a9c8af03ae32a (patch)
tree828281c4af98c5df41763f90412200308cf98436 /src/tools/tidy
parentfa72f0763de6bc1596208fc1419883ce5aea0de4 (diff)
downloadrust-bce176d9a7b1f7e1fbc485ab0d0a9c8af03ae32a.tar.gz
rust-bce176d9a7b1f7e1fbc485ab0d0a9c8af03ae32a.zip
tidy: say which feature gate has a stability issue mismatch
Diffstat (limited to 'src/tools/tidy')
-rw-r--r--src/tools/tidy/src/features.rs3
1 files changed, 2 insertions, 1 deletions
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(),