-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
Self keyword is documented as SelfTy #98828
Copy link
Copy link
Open
Labels
A-rustdoc-uiArea: Rustdoc UI (generated HTML)Area: Rustdoc UI (generated HTML)C-bugCategory: This is a bug.Category: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.T-rustdoc-frontendRelevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.
Metadata
Metadata
Assignees
Labels
A-rustdoc-uiArea: Rustdoc UI (generated HTML)Area: Rustdoc UI (generated HTML)C-bugCategory: This is a bug.Category: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.T-rustdoc-frontendRelevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.
Type
Fields
Give feedbackNo fields configured for issues without a type.
This should just be
Self. "SelfTy" is not a keyword.The doc page cannot be https://doc.rust-lang.org/nightly/std/keyword.Self.html on a case-insensitive host because that will conflict with https://doc.rust-lang.org/nightly/std/keyword.self.html.
IMHO: the ideal would be https://doc.rust-lang.org/nightly/std/keyword.Self%20(type).html as the URL, and to properly display the keyword as
Self.https://doc.rust-lang.org/nightly/std/keyword.SelfTy.html
@rustbot modify labels +A-rustdoc