Skip to content

Rustdoc-Json: Store Variant Fields as their own item.#101462

Merged
bors merged 1 commit intorust-lang:masterfrom
aDotInTheVoid:rdj-enum-field-2
Sep 6, 2022
Merged

Rustdoc-Json: Store Variant Fields as their own item.#101462
bors merged 1 commit intorust-lang:masterfrom
aDotInTheVoid:rdj-enum-field-2

Conversation

@aDotInTheVoid
Copy link
Member

Closes #100587
Closes #92945

Successor to #100762

Unlike that one, we don't have merge StructType and Variant, as after #101386 Variant stores enum specific information (discriminant).

Resolves the naming discussion (#100762 (comment)) by having seperate enums for struct and enum kinds

Resolves #[doc(hidden)] on tuple structs (#100762 (comment)) by storing as a Vec<Option<Id>>

r? @GuillaumeGomez

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-rustdoc-json Area: Rustdoc JSON backend S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rustdoc-Json: Document Stripped Fields for enum varients [rustdoc-json] Free-floating struct_field items with enum tuple struct variants

6 participants