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:
commit
08b813b30e
@ -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(),
|
||||||
|
Loading…
Reference in New Issue
Block a user