Skip to content

rustdoc links to the wrong method anchor #86620

Closed
@jyn514

Description

@jyn514

I tried this code: laysakura/serde-encrypt@b46c118

I expected to see this happen: All links rustdoc generates are valid.

Instead, this happened: In impl<V: Multilane, T> VZip for T, on encrypt/encrypted_message/struct.EncryptedMessage.html, the function vzip links to #tymethod.vzip, but the proper link is #method.vzip. This causes the anchor to go nowhere.

Meta

rustdoc --version: rustdoc 1.53.0 (53cb7b0 2021-06-17)

This is also present on rustdoc 1.55.0-nightly (7c3872e 2021-06-24).

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-cross-crate-reexportsArea: Documentation that has been re-exported from a different crateC-bugCategory: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.regression-from-stable-to-stablePerformance or correctness regression from one stable version to another.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions