Skip to content

Tracking issue for #[doc(alias = "...")] #50146

Closed
@GuillaumeGomez

Description

@GuillaumeGomez

Edit: Implemented in #49757. From the docs:

This feature allows you to add alias(es) to an item when using the rustdoc search through the doc(alias) attribute. Example:

#![feature(doc_alias)]
#[doc(alias = "x")]
#[doc(alias = "big")]
pub struct BigX;

Then, when looking for it through the rustdoc search, if you enter "x" or "big", search will show the BigX struct first.

Metadata

Metadata

Labels

A-doc-aliasArea: `#[doc(alias)]`B-unstableBlocker: Implemented in the nightly compiler and unstable.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCT-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.disposition-mergeThis issue / PR is in PFCP or FCP with a disposition to merge it.finished-final-comment-periodThe final comment period is finished for this PR / Issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions