You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You have to do something like rustdoc file.rs -Whelp in order to see the lint list which is a bit weird 😄 (it does not seem to actually process the file then at least...)
The text was updated successfully, but these errors were encountered:
Weirdly enough, it seems like we need to have a file to be able to run register_plugins in lib.rs::main_options. If we don't provide a file, the compiler doesn't allow us to build plugins. I think the reason behind this is that rustdoc should always be run with cargo which will always provide a file.
I'm not sure if it's worth fixing but just in case: do you think there is a way to fix this @rust-lang/compiler ?
$ rustc -Whelp
<lint list>
$ rustdoc -Whelp
error: missing file operand
You have to do something like
rustdoc file.rs -Whelp
in order to see the lint list which is a bit weird 😄 (it does not seem to actually process the file then at least...)The text was updated successfully, but these errors were encountered: