Skip to content

rustdoc: Fix inconsistencies in const value rendering #83035

Open
@camelid

Description

@camelid

The topic of this issue has changed since it was first opened. See #83035 (comment) for a more up-to-date summary.


The way they're displayed is both different (one use a BodyId whereas the other is forced to use its DefId. But ultimately, it'd be nice to be able to merge them.

Originally posted by @GuillaumeGomez in #82873 (comment)

This will be done after #82873 is merged.

Metadata

Metadata

Assignees

Labels

A-const-evalArea: Constant evaluation, covers all const contexts (static, const fn, ...)C-cleanupCategory: PRs that clean code up or issues documenting cleanup.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions