Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
compiler-errors opened this issue May 13, 2024 · 0 comments
Open

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

compiler-errors opened this issue May 13, 2024 · 0 comments
Assignees
Labels
C-bug Category: This is a bug. F-associated_const_equality `#![feature(associated_const_equality)]` T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@compiler-errors
Copy link
Member

compiler-errors commented May 13, 2024

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.

@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label May 13, 2024
@fmease fmease added T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. and removed needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. labels May 13, 2024
@fmease fmease added C-bug Category: This is a bug. F-associated_const_equality `#![feature(associated_const_equality)]` labels May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. F-associated_const_equality `#![feature(associated_const_equality)]` T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

3 participants