Skip to content

Commit

Permalink
Unrolled build for rust-lang#129816
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#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 :)
  • Loading branch information
rust-timer authored Aug 31, 2024
2 parents d571ae8 + bce176d commit 804fb98
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 804fb98

Please sign in to comment.