Skip to content

Commit

Permalink
Rollup merge of #129816 - RalfJung:tidy-feature-issue-mismatch, r=com…
Browse files Browse the repository at this point in the history
…piler-errors

tidy: say which feature gate has a stability issue mismatch

This gives some valuable context to what the error is actually about :)
  • Loading branch information
matthiaskrgr authored Aug 31, 2024
2 parents 1e0cc8b + bce176d commit 08b813b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tools/tidy/src/features.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 08b813b

Please sign in to comment.