Rustdoc-Json: Report discriminant on all kinds of enum variant. #106299
Labels
A-rustdoc-json
Area: Rustdoc JSON backend
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Rust now supports adding an explicit discriminant to all kinds of enum variant.
Eg:
However we currently only report it for unit variants.
rust/src/rustdoc-json-types/lib.rs
Lines 339 to 370 in 7c99186
But it should be for all variants.
@rustbot claim
The text was updated successfully, but these errors were encountered: