Skip to content

rustdoc-json-types: Use different repr for Constant in Item and Type position #125974

Open
@aDotInTheVoid

Description

@aDotInTheVoid

This is fine for now, but once this lands, I'd like to look into using seperate type for Item::Constant and Term::Constant/GenericArgKind::Constant, so this can be flattened again. But this shoudn't block this PR.

Originally posted by @aDotInTheVoid in #125958 (comment)

Metadata

Metadata

Assignees

Labels

A-rustdoc-jsonArea: Rustdoc JSON backendT-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