-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Better help support in clippy-driver
#4173
Comments
Implement better help for clippy-driver #4173
@yaahc I didn't follow this too closely, but shouldn't the new help be available in the Clippy component with Rust 1.37? At least the Clippy PR is included in the Clippy for Rust 1.37, but it doesn't seem to work:
Is there more cargo work that needs to hit stable first? |
rust-lang/cargo#7162 didn't make the cut and is kinda important but it shouldn't play a factor in So to answer your question, yes the new help should be available, no, more work shouldn't need to land to get the additional help out of clippy-driver. And for what its worth the commands you posted work for me, though if I get the help through cargo instead of directly from clippy-driver it renders the lint groups differently, wrong in the cargo case, and now I'm wondering if thats a bug. cc @Manishearth |
Aah, okay, the reason the output is different is because The best option for getting the clippy lint lists is to call |
Depends on #4172
It should be possible to:
clippy-driver --help
to get Clippy help. Include lint groups, but not lintsclippy-driver -W help
to get a lint list.cc @yaahallo
The text was updated successfully, but these errors were encountered: