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
If a type implements a trait which was defined in an external crate, then the documentation on the methods along with the default methods will not be shown in the documentation for the host crate.
I don't think that there's a large number of other issues with cross-crate documentation, so I'm not going to make this a blanket "cross-crate rustdoc needs" work issue.
Soon, cross-crate implementations of traits will not slurp in the default methods to show in the implementation documentation as well. Notable this means that TreeMap won't show up as having an insert method. This is bad.
The text was updated successfully, but these errors were encountered:
This does not work for cross-crate implementations of traits. Cross-crate
implementations are a separate issue that should be addressed separately.
Basically when an implementation of an external trait is detected, the trait
would have to be loaded at that time (or possibly sooner...). Rustdoc currently
doesn't have the proper infrastructure for adding this.
Closesrust-lang#9985
cc rust-lang#9999
If a type implements a trait which was defined in an external crate, then the documentation on the methods along with the default methods will not be shown in the documentation for the host crate.
I don't think that there's a large number of other issues with cross-crate documentation, so I'm not going to make this a blanket "cross-crate rustdoc needs" work issue.
Soon, cross-crate implementations of traits will not slurp in the default methods to show in the implementation documentation as well. Notable this means that
TreeMap
won't show up as having aninsert
method. This is bad.The text was updated successfully, but these errors were encountered: