about summary refs log tree commit diff
path: root/tests/rustdoc-json/enums/discriminant/struct.rs
AgeCommit message (Collapse)AuthorLines
2025-07-15rustdoc-json: Structured attributesAlona Enraght-Moony-1/+1
Implements https://www.github.com/rust-lang/rust/issues/141358. This has 2 primary benefits: 1. For rustdoc-json consumers, they no longer need to parse strings of attributes, but it's there in a structured and normalized way. 2. For rustc contributors, the output of HIR pretty printing is no longer a versioned thing in the output. People can work on https://github.com/rust-lang/rust/issues/131229 without needing to bump `FORMAT_VERSION`. (Over time, as the attribute refractor continues, I expect we'll add new things to `rustdoc_json_types::Attribute`. But this can be done separately to the rustc changes).
2025-03-22rustdoc: Use own logic to print `#[repr(..)]` attributes in JSON output.Predrag Gruevski-1/+1
2025-03-21tests/rustdoc-json: replace `$.index[*][?` with `$.index[?`Alona Enraght-Moony-7/+7
Done automatically with VSCode.
2025-03-10Fix pretty printing of parsed attrs in hir_prettyMichael Goulet-1/+1
2025-03-03Always allow rustdoc-json tests to contain long linesNoratrieb-2/+0
The rustdoc-json test syntax often requires very long lines, so the checks for long lines aren't really useful.
2025-02-24Fix rustdoc and clippyJana Dönszelmann-1/+1
2024-07-19Update all rustdoc-json/ tests to use the new styleLeón Orell Valerian Liehr-7/+7
2023-05-22Serialize all enums as externally tagged to guarantee compatibility with ↵Luca Palmieri-6/+6
binary formats such as bincode or postcard
2023-01-11Move /src/test to /testsAlbert Larsan-0/+15