Skip to content

Assoc const equality doesn't work well with rustdoc #125092

Description

@compiler-errors

Formatting asssociated const equality bounds was broken in #125076. This is because rustdoc uses:

EqPredicate { lhs: Type, rhs: Term },

Where the LHS is Type even though it definitely cannot be Type. It should likely be Term.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

C-bugCategory: This is a bug.F-associated_const_equality`#![feature(associated_const_equality)]`T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions