-
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
Missing docs for non-first impl #74531
Comments
Removing |
@JohnTitor Why? |
A quick test indicates that copying the source of std::panic::Location out into a no_std crate doesn't fix the problem |
Oh wait I don't have the latest nightly |
@Manishearth As mentioned in #72340 (comment), I'm not sure this should be prioritized under t-compiler's wg-prioritization. If this label is useful for the rustdoc team as well, we could tweak triagebot not to notify on Zulip. |
@JohnTitor Yeah it seems like it would be useful for us |
Hmm so I am unable to reproduce this bug on a self contained no-core file that contains the exact code of |
Regression range 7e11379..5c9e5df 5c9e5df Auto merge of #74408 - Manishearth:rollup-9gxn4od, r=Manishearth |
Rustdoc PRs in that rollup fc09817 Rollup merge of #74370 - Manishearth:re-spotlight, r=GuillaumeGomez |
Confirmed, 9ffb7801363cff45dcb56fa2146a48aa0ae433db (try build from #73771) is the culprit |
What's happening is that that code erroneously checks the stability of the impl, which apparently is "unstable if it contains unstable items". The "foreign item" check applies to libstd reexporting libcore. It shouldn't. The minimal reproduction is two crates, one using stability attrs such that an impl has at least one unstable item, and the second crate reexporting the type. |
I'm going to take a stab at fixing this. |
e.g., https://doc.rust-lang.org/nightly/std/panic/struct.Location.html is missing the file/line/column method docs which are present in beta https://doc.rust-lang.org/beta/std/panic/struct.Location.html#impl-1
cc @rust-lang/rustdoc
The text was updated successfully, but these errors were encountered: