-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Prepare to split clippy_lints
#14684
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
base: master
Are you sure you want to change the base?
Conversation
…ed files in `clippy_dev`
* rename test files inside directories and ui-toml tests * rename tests prefixed with the lint's name * better module path renaming when renaming the lint's module * partially delete lint files when uplifting * rename ui_test error markers
Thanks for assigning me to those PRs and requesting my review! However, I can't keep up with my reviews. I suggest Alex as the main reviewer, maybe with the help of Samuel. I fully trust you that you'll improve our tooling here! If you really want my review, just keep me assigned and I'll see what I can do this weekend. Otherwise, feel free to re-assign those PRs to Alex and/or Samuel. (applies to all clippy_dev PRs currently open, just commenting once here) |
I only assigned you to this one since splitting will (maybe) affect the sync in an annoying way. edit: Just rerolled the others. |
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 for clarifying! Please also ping me on the PR that does the actual split.
This LGTM. AFAICT, CI failures are due to a different PR.
Just a NIT. Feel free to merge, once the others of the stack got merged
} | ||
} | ||
|
||
fn crate_root_path(self) -> &'static str { |
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.
NIT: Maybe a better name crate_lib_path
or even more explicit crate_lib_rs_path
.
No strong opinion here though.
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.
I'll leave this for when I end up having to rebase. Hopefully I don't forget.
Based on #14633
The end goal here is to split
clippy_lints
into several independent crates and have the driver call out to each of them to register lints.clippy_lints
takes way too long to compile right now.r? @flip1995
changelog: none