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 :)
This commit is contained in:
Matthias Krüger 2024-08-31 20:36:26 +02:00 committed by GitHub
commit 08b813b30e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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(),