Skip to content

RustDoc: Links to trait aliases go to trait.Foo.html but the pages are traitalias.Foo.html #84782

Closed
@scottmcm

Description

@scottmcm

Found as part of my change in #84767.

CI build failure: https://github.com/rust-lang/rust/pull/84767/checks?check_run_id=2480989637#step:24:3504

std/iter/struct.Peekable.html:177: broken link - core/ops/trait.TryWhereOutputEquals.html
std/iter/struct.Once.html:13: broken link - core/ops/trait.TryWhereOutputEquals.html
std/iter/struct.Rev.html:14: broken link - core/ops/trait.TryWhereOutputEquals.html
...

Checking locally, the generated file is

/rust/build/x86_64-pc-windows-msvc/doc/core/ops/traitalias.TryWhereOutputEquals.html

Trait, as well as its uses, are in ee4aa51#diff-b5736412f785f181ff3fcd768a2ea5f3bc1c6313af38a0094e5ef49c0e489c4fR223

Metadata

Metadata

Assignees

Labels

C-bugCategory: This is a bug.F-trait_alias`#![feature(trait_alias)]`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