-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Fix CLI completion check in tidy
#143452
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix CLI completion check in tidy
#143452
Conversation
This PR modifies If appropriate, please update |
This comment has been minimized.
This comment has been minimized.
Funny, clippy didn't detect this when it was inside a macro. |
Aren't many lints intentionally not fired against code whose span comes from macro expansions? Anyway |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
@bors r+ rollup |
Rollup of 11 pull requests Successful merges: - #142440 (`tests/ui`: A New Order [14/N]) - #143040 (Add `const Rem`) - #143086 (Update poison.rs to fix the typo (sys->sync)) - #143202 (`tests/ui`: A New Order [18/N]) - #143296 (`tests/ui`: A New Order [21/N]) - #143297 (`tests/ui`: A New Order [22/N]) - #143299 (`tests/ui`: A New Order [24/N]) - #143300 (`tests/ui`: A New Order [25/N]) - #143397 (test passing a `VaList` from rust to C) - #143410 (Block SIMD in transmute_immediate; delete `OperandValueKind`) - #143452 (Fix CLI completion check in `tidy`) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of #143452 - Kobzol:completions-fix, r=jieyouxu Fix CLI completion check in `tidy` The list of CLI completion files that were generated and that were checked by `x test tidy` was not synced. Recently, some PR only updated some of the files, which caused the rest of the files (not checked by `x test tidy`) to be dirty on `master`. This PR fixes the logic in bootstrap to always synchronize the list of completion paths. Fixes: #143451 r? `@jieyouxu`
Sorry, i've updated only ones that caused build or tidy fails. |
The list of CLI completion files that were generated and that were checked by
x test tidy
was not synced. Recently, some PR only updated some of the files, which caused the rest of the files (not checked byx test tidy
) to be dirty onmaster
. This PR fixes the logic in bootstrap to always synchronize the list of completion paths.Fixes: #143451
r? @jieyouxu