-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Intra-rustdoc links do not work for unqualified names in doc for a trait impl method #66509
Comments
Perhaps related to #54172 |
@mzabaluev is this duplicate of #54172 ? |
No, that issue is about links to a specific impl method. Here, the link is to an unqualified trait name, but it is located in the doc of an impl method of a different trait, which somehow breaks it. |
What is I only found |
@xliiv Here's a minimized test case:
It works in nightly, so I assume it is fixed. |
Great news! |
There may be a problem with using intra-rustdoc links (#43466) in doc for a method implementation in a trait impl item. This fixup had to be made because an unqualified link to the
Policy
trait that is declared into the same module was rendered as[Policy]
without the link. Other unqualified links toPolicy
in documentation elsewhere in the same module work as expected.Meta
rustc --version --verbose
:rustc 1.41.0-nightly (5c5b8af 2019-11-16)
binary: rustc
commit-hash: 5c5b8af
commit-date: 2019-11-16
host: x86_64-unknown-linux-gnu
release: 1.41.0-nightly
The text was updated successfully, but these errors were encountered: