Skip to content

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

Open
@compiler-errors

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.

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

Status

To Do

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions