rustdoc-json-types: Use different repr for Constant in Item and Type position
Open
@aDotInTheVoid is already working on this.
Since Jun 4, 2024.
A-rustdoc-json
T-rustdoc
- Dominant language
- Rust
- Stars
- 119k
- Forks
- 16.1k
- PR merge metrics
- PR metrics pending
Description
This is fine for now, but once this lands, I'd like to look into using seperate type for
Item::ConstantandTerm::Constant/GenericArgKind::Constant, so this can be flattened again. But this shoudn't block this PR.
Originally posted by @aDotInTheVoid in https://github.com/rust-lang/rust/pull/125958#discussion_r1625934878
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.