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

docs: Inaccessible/private types are shown under Show implementors #18278

Closed
japaric opened this issue Oct 24, 2014 · 1 comment
Closed

docs: Inaccessible/private types are shown under Show implementors #18278

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

Comments

@japaric
Copy link
Member

japaric commented Oct 24, 2014

Head to Show doc page. You'll see the following implementors:

  • Flavor (sync::mutex)
  • Failure (sync::comm::sync)

The former is a private type and the latter is inaccessible (comm::sync is private). These two shouldn't show in the docs.

@sfackler sfackler added the T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. label Jan 7, 2015
@alexcrichton
Copy link
Member

This may be fixed, but needs more investigation. I believe this is a dupe of #14586, however.

lnicola pushed a commit to lnicola/rust that referenced this issue Oct 17, 2024
Do not consider match/let/ref of place that evaluates to ! to diverge, disallow coercions from them too

Resolves rust-lang#18237
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