Skip to content

Intra-doc link to use fails to resolve #78095

Closed
@camelid

Description

@camelid

See #78093 for an example:

error: unresolved link to `use`
  --> library/std/src/keyword_docs.rs:23:74
   |
23 | /// Other places `as` is used include as extra syntax for [`crate`] and [`use`], or to change
   |                                                                          ^^^^^ the module `std` contains no item named `use`
   |
   = note: `-D broken-intra-doc-links` implied by `-D warnings`
   = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`

error: unresolved link to `use`
  --> library/std/src/keyword_docs.rs:23:74
   |
23 | /// Other places `as` is used include as extra syntax for [`crate`] and [`use`], or to change
   |                                                                          ^^^^^ the module `std` contains no item named `use`
   |
   = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-intra-doc-linksArea: Intra-doc links, the ability to link to items in docs by nameC-bugCategory: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions