Skip to content

Docs page broken, build succeeds (1.53.0 nightly only error, 1.51.0 stable OK) #1390

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

Closed
tnballo opened this issue May 1, 2021 · 5 comments
Closed

Comments

@tnballo
Copy link

tnballo commented May 1, 2021

Hey! I encountered a problem with generated documentation when updating a crate - believe it is a nightly bug.

Problem, 1.53.0 nightly

Documentation for a struct's functions is completely missing:

doc_err

No problem, 1.51.0 stable

Docs render correctly on the stable tool chain (cargo 1.51.0 (43b129a20 2021-03-16)):

docs_ok

Please let me know if I can provide more information to help root cause the issue! Thank you.

@tnballo tnballo changed the title Docs page broken, build succeeds (1.53.0 nightly only errror, 1.51.0 stable OK) Docs page broken, build succeeds (1.53.0 nightly only error, 1.51.0 stable OK) May 1, 2021
@MikailBag
Copy link

Please note that the link you've posted begins to work if I expand this implementation.

@tnballo
Copy link
Author

tnballo commented May 1, 2021

Thanks for pointing out that the link works post-expansion, I didn't notice this. That's good news - a more usable state.

So the functions are not missing, just nested-open by default in the stable toolchain it seems!

@lf-
Copy link

lf- commented May 11, 2021

This is better documented in #1399, which is arguably a duplicate of this one. There was a nightly released with a broken rustdoc.

@jyn514
Copy link
Member

jyn514 commented Jun 12, 2021

@jyn514 jyn514 closed this as completed Jun 12, 2021
@tnballo
Copy link
Author

tnballo commented Jun 12, 2021

Thank you @jyn514 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants