tidy: say which feature gate has a stability issue mismatch

This commit is contained in:
Ralf Jung 2024-08-31 12:59:19 +02:00
parent fa72f0763d
commit bce176d9a7

View File

@ -455,9 +455,10 @@ fn get_and_check_lib_features(
if f.tracking_issue != s.tracking_issue && f.level != Status::Accepted { if f.tracking_issue != s.tracking_issue && f.level != Status::Accepted {
tidy_error!( tidy_error!(
bad, bad,
"{}:{}: `issue` \"{}\" mismatches the {} `issue` of \"{}\"", "{}:{}: feature gate {} has inconsistent `issue`: \"{}\" mismatches the {} `issue` of \"{}\"",
file.display(), file.display(),
line, line,
name,
f.tracking_issue_display(), f.tracking_issue_display(),
display, display,
s.tracking_issue_display(), s.tracking_issue_display(),