-
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
Request: Show rustdoc warnings #9131
Comments
You can use |
@bjorn3 I currently set it to |
No, it wouldn't. There is no way to get both rustdoc and clippy lints without running both tools. |
Would it be possible to consider a feature request then for the |
|
You are describing a possible workaround, which I appreciate being brought up as it could unblock some people. However - is it completely out of question for |
I don't know if it's out of scope. I certainly wouldn't use it because it slows down the builds and maybe I save a file 100 times, but only run But it's totally fair to request ask for it. |
When I changed the
So there is really no viable workaround to check for rustdoc warnings within Rust Analyzer. |
Example code:
In the code above,
OldName
has been renamed toNewName
but I forget updating the doc. Runningcargo doc
would print warnings but I don't always remember it.Request: Show rustdoc warnings like compiler warnings.
Edit: One had suggested that I set
rust-analyzer.checkOnSave.command
todoc
, but I have already set it toclippy
.The text was updated successfully, but these errors were encountered: