-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
rustdoc misses certain impl's #17006
Comments
Is it perhaps because https://github.com/rust-lang/rust/blob/master/src/libcore/finally.rs#L105 Sorry if my answer is off the point, I'm a newbie... Anyways it would be great if rustdoc accepts cmd line parameters on visibility.
|
@nodakai
Edit: user error |
@alexchandel could you be more specific? I don't understand why Does it miss it specifically for the JSON output? |
@alexchandel My understanding on the "is-a" relationship for
It would be nice if the Rust language spec could explain this more clearly. |
I don't think this is a bug:
Closing as not-a-bug. Reopen if I'm misunderstanding something. I think it's better to regard this behaviour as rustdoc documenting public things. Public traits are listed in the docs, public types are listed in the docs, and the interaction between the documented things (i.e. the traits-in-the-docs impl'd by each type-in-the-docs) is also listed.
This can actually controlled by the |
Running |
I think you may need to pass the flag that disables the default passes too (I can't remember what it is, see |
fix: Fix some cfg censoring bugs Fixes rust-lang/rust-analyzer#16947
fix: Fix some cfg censoring bugs Fixes rust-lang/rust-analyzer#16947
When rustdoc is run on
libcore
with JSON output, the output doesn't include several implementations, including one infinally.rs
. In particularDrop for Finallyalizer
isn't detected:Rustdoc should pick up every syntax element.
The text was updated successfully, but these errors were encountered: