Skip to content

Rustdoc inlining displays reexported typedefs as discrete types #14757

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
ebarnard opened this issue Jun 8, 2014 · 0 comments
Closed

Rustdoc inlining displays reexported typedefs as discrete types #14757

ebarnard opened this issue Jun 8, 2014 · 0 comments
Labels
T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@ebarnard
Copy link
Contributor

ebarnard commented Jun 8, 2014

Compare:
http://doc.rust-lang.org/collections/str/type.SendStr.html
to
http://doc.rust-lang.org/std/str/type.SendStr.html

Part of #14462?

alexcrichton added a commit to alexcrichton/rust that referenced this issue Jun 9, 2014
Both of these items are surfaced as a DefTy, so some extra logic was needed in
the decoder module to figure out whether one is actually an enum or whether it's
a typedef.

Closes rust-lang#14757
mcpherrinm pushed a commit to mcpherrinm/rust that referenced this issue Jun 10, 2014
Both of these items are surfaced as a DefTy, so some extra logic was needed in
the decoder module to figure out whether one is actually an enum or whether it's
a typedef.

Closes rust-lang#14757
bors added a commit to rust-lang-ci/rust that referenced this issue Jun 5, 2023
Fix libs publish branch filter

line-index didn't actually get published from rust-lang#14733, probably because the branch filter was for main but the main branch is called master here. This fixes the workflow file

I also tweaked the libs readme mostly just so the paths filter would pick up the changes.
bors pushed a commit to rust-lang-ci/rust that referenced this issue May 21, 2025
…an expression (rust-lang#14757)

A `return` in an expression makes it divergent and cannot be removed
blindly. While this stripping might have been introduced as a way to
catch more cases, it was improperly used, and no tests exhibit a failure
when this special handling is removed.

changelog: [`needless_match`]: do not strip `return` as it might make
the `if let` or `match` divergent in some cases

Fixes rust-lang/rust-clippy#14754
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

Successfully merging a pull request may close this issue.

2 participants