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

std::unit & core::unit modules should be crate::tuple::unit #15320

Closed
huonw opened this issue Jul 2, 2014 · 1 comment
Closed

std::unit & core::unit modules should be crate::tuple::unit #15320

huonw opened this issue Jul 2, 2014 · 1 comment
Labels
T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@huonw
Copy link
Member

huonw commented Jul 2, 2014

These modules are just serving to provide a primitive page for (), and rustdoc currently only looks at the top level for #[doc(primitive)] attributes. Make it look one level deeper would allow those modules to be properly moved.

bors added a commit that referenced this issue Jul 4, 2014
This adds a primitive page for () like http://doc.rust-lang.org/master/std/uint/primitive.uint.html .

I would prefer the modules to be `std::tuple::unit`, but rustdoc only searches at the top level (filed as #15320).
@steveklabnik steveklabnik added the T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. label Feb 11, 2015
@alexcrichton
Copy link
Member

Unit has been removed, so we should be good to go here!

bors added a commit to rust-lang-ci/rust that referenced this issue Jul 24, 2023
…r-items, r=HKalbasi

Report `incorrect-ident-case` for inner items

Fixes rust-lang#15319

Although we have been collecting the diagnostics for inner items within function bodies, we were discarding them and never reported to the users. This PR makes sure that they are all reported and additionally collects the diagnostics for inner items within const bodies, static bodies, and enum variant bodies.
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

3 participants