Rustdoc does not escape GAT arguments when it fails to compute the href link for the trait #109488
Labels
A-GATs
Area: Generic associated types (GATs)
A-rustdoc-ui
Area: Rustdoc UI (generated HTML)
C-bug
Category: This is a bug.
F-generic_associated_types
`#![feature(generic_associated_types)]` a.k.a. GATs
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Given
Rustdoc does not escape the ASCII angle brackets for the generic argument list of the generic associated type projection
<S as Tr>::P
leading to the following butchered HTML output:I've noticed this while working on rustdoc integration for
AliasKind::Inherent
in #109410. It's possible that the refactoring PR #109246 will fix this (need to check) or at least make it more pleasant to fix. Assigning myself for now since I'm gonna fix this otherwise.@rustbot claim
@rustbot label T-rustdoc A-rustdoc-ui F-generic_associated_types
The text was updated successfully, but these errors were encountered: