Skip to content
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

standard library documentation links to nonexistant library #23705

Closed
steveklabnik opened this issue Mar 25, 2015 · 4 comments
Closed

standard library documentation links to nonexistant library #23705

steveklabnik opened this issue Mar 25, 2015 · 4 comments
Assignees
Labels
T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@steveklabnik
Copy link
Member

The home page has a thread_local module, linking to http://doc.rust-lang.org/nightly/std/thread_local/, which is a 404.

@steveklabnik steveklabnik added A-docs T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Mar 25, 2015
@steveklabnik
Copy link
Member Author

tagging with 'docs' until I figure out if this is a doc issue or a rustdoc bug.

@tomjakubowski
Copy link
Contributor

Well, the module exists, is documented, and no #[doc(hidden)] anywhere... I think this is a peculiar rustdoc bug.

Curiously, the declaration of the module is the only top-level pub mod declaration in std that has #[macro_use] attached. Could be related.

@daboross
Copy link
Contributor

daboross commented Apr 3, 2015

@tomjakubowski could you point me to the module? I don't seem to be seeing it in the tree at first glance. I mean thread_local! exists, but I don't see a public thread_local module in std.

@tomjakubowski
Copy link
Contributor

@daboross the module was moved around recently, it's the (hidden, but public) std::thread::__local module at src/libstd/thread/local.rs now.

The new module is #[doc(hidden)] now so rustdoc isn't generating links to it. There was an underlying rustdoc issue here, but evidence of it is now gone, like tears in rain. (unless you check out a tree from ~9ish days ago)

@alexcrichton alexcrichton self-assigned this Apr 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

4 participants