rust/tests/rustdoc-json/enums/discriminant
Alona Enraght-Moony 078332fdc8 rustdoc-json: Structured attributes
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-07-15 16:52:41 +00:00
..
basic.rs tests/rustdoc-json: replace $.index[*][? with $.index[? 2025-03-21 00:48:09 +00:00
expr.rs tests/rustdoc-json: replace $.index[*][? with $.index[? 2025-03-21 00:48:09 +00:00
limits.rs Stabilise repr128 2025-05-28 15:14:34 +01:00
num_underscore_and_suffix.rs tests/rustdoc-json: replace $.index[*][? with $.index[? 2025-03-21 00:48:09 +00:00
only_some_have_discriminant.rs tests/rustdoc-json: replace $.index[*][? with $.index[? 2025-03-21 00:48:09 +00:00
struct.rs rustdoc-json: Structured attributes 2025-07-15 16:52:41 +00:00
tuple.rs rustdoc-json: Structured attributes 2025-07-15 16:52:41 +00:00