about summary refs log tree commit diff
path: root/tests/rustdoc-json/enums/discriminant
AgeCommit message (Collapse)AuthorLines
2025-07-15rustdoc-json: Structured attributesAlona Enraght-Moony-2/+2
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-05-28Stabilise `repr128`beetrees-3/+0
2025-03-22rustdoc: Use own logic to print `#[repr(..)]` attributes in JSON output.Predrag Gruevski-2/+2
2025-03-21tests/rustdoc-json: replace `$.index[*][?` with `$.index[?`Alona Enraght-Moony-66/+66
Done automatically with VSCode.
2025-03-10Fix pretty printing of parsed attrs in hir_prettyMichael Goulet-2/+2
2025-03-03Always allow rustdoc-json tests to contain long linesNoratrieb-9/+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-2/+2
2024-07-19Update all rustdoc-json/ tests to use the new styleLeón Orell Valerian Liehr-66/+66
2023-05-22Serialize all enums as externally tagged to guarantee compatibility with ↵Luca Palmieri-64/+68
binary formats such as bincode or postcard
2023-01-11Move /src/test to /testsAlbert Larsan-0/+149