about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-08-31 20:36:26 +0200
committerGitHub <noreply@github.com>2024-08-31 20:36:26 +0200
commit08b813b30e02718dda6cdc3ca0dabe0d6a113e2b (patch)
tree85e90900c02b66046b25b5366e09180787f1c6f6
parent1e0cc8bec3d6049ced0f0f0ccfb1c8947983496c (diff)
parentbce176d9a7b1f7e1fbc485ab0d0a9c8af03ae32a (diff)
downloadrust-08b813b30e02718dda6cdc3ca0dabe0d6a113e2b.tar.gz
rust-08b813b30e02718dda6cdc3ca0dabe0d6a113e2b.zip
Rollup merge of #129816 - RalfJung:tidy-feature-issue-mismatch, r=compiler-errors
tidy: say which feature gate has a stability issue mismatch

This gives some valuable context to what the error is actually about :)
-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(),