-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Assoc const equality doesn't work well with rustdoc #125092
Copy link
Copy link
Closed
Labels
C-bugCategory: This is a bug.Category: This is a bug.F-associated_const_equality`#![feature(associated_const_equality)]``#![feature(associated_const_equality)]`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.
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.F-associated_const_equality`#![feature(associated_const_equality)]``#![feature(associated_const_equality)]`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.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
Status
Done
Formatting asssociated const equality bounds was broken in #125076. This is because rustdoc uses:
rust/src/librustdoc/clean/types.rs
Line 1307 in 030a12c
Where the LHS is
Typeeven though it definitely cannot beType. It should likely beTerm.