rust/tests/rustdoc-json/enums
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
..
auxiliary Move /src/test to /tests 2023-01-11 09:32:08 +00:00
discriminant rustdoc-json: Structured attributes 2025-07-15 16:52:41 +00:00
doc_link_to_foreign_variant.rs tests/rustdoc-json: replace $.index[*][? with $.index[? 2025-03-21 00:48:09 +00:00
field_hidden.rs tests/rustdoc-json: replace $.index[*][? with $.index[? 2025-03-21 00:48:09 +00:00
field_order.rs tests/rustdoc-json: replace $.index[*][? with $.index[? 2025-03-21 00:48:09 +00:00
kind.rs tests/rustdoc-json: replace $.index[*][? with $.index[? 2025-03-21 00:48:09 +00:00
struct_field_hidden.rs tests/rustdoc-json: replace $.index[*][? with $.index[? 2025-03-21 00:48:09 +00:00
tuple_fields_hidden.rs tests/rustdoc-json: replace $.index[*][? with $.index[? 2025-03-21 00:48:09 +00:00
use_glob.rs tests/rustdoc-json: replace $.index[*][? with $.index[? 2025-03-21 00:48:09 +00:00
use_variant.rs tests/rustdoc-json: replace $.index[*][? with $.index[? 2025-03-21 00:48:09 +00:00
use_variant_foreign.rs tests/rustdoc-json: change assertions to use RFC 9535 jsonpath 2025-03-21 00:48:09 +00:00
variant_order.rs tests/rustdoc-json: replace $.index[*][? with $.index[? 2025-03-21 00:48:09 +00:00
variant_struct.rs tests/rustdoc-json: replace $.index[*][? with $.index[? 2025-03-21 00:48:09 +00:00
variant_tuple_struct.rs tests/rustdoc-json: replace $.index[*][? with $.index[? 2025-03-21 00:48:09 +00:00