-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
RA is bad at completing rustdoc lints #8349
Comments
Unfortunately -Whelp doesn't seem to support JSON output :/ if that would be helpful to you I think it would be reasonable to add, I can make an MCP. Let me know. The current output looks like this:
|
This has landed :) |
Just tried |
Oh passing it a random file does make it work, that seems odd given rustc works without an input file for this. Also is this supposed to also emit rustc lints? Would've expected to only see rustdoc lints by doing this. |
|
Fixed in #10594 |
This is a couple different bug reports in one; let me know if you'd prefer I open more issues.
rustdoc::
resets the suggestions: https://drive.google.com/file/d/1lY7dDREBvyozmK0tSxYAFuO0ask7btfD/view?usp=sharing (this might just be#![allow(clippy::
incorrectly completes with a leadingclippy::
#7144).For 2, I think rather than hard-coding the list of lints, RA should discover it from rustdoc itself with
-W help
(should hopefully be implemented on the next nightly: rust-lang/rust#83895. Then it will always be up to date and won't have to worry about renamed lints and that sort of thing.The text was updated successfully, but these errors were encountered: