rust/tests/rustdoc-json/attrs
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
..
automatically_derived.rs rustdoc-json: Structured attributes 2025-07-15 16:52:41 +00:00
cold.rs rustdoc-json: Structured attributes 2025-07-15 16:52:41 +00:00
deprecated.rs tests/rustdoc-json: replace $.index[*][? with $.index[? 2025-03-21 00:48:09 +00:00
export_name_2021.rs rustdoc-json: Structured attributes 2025-07-15 16:52:41 +00:00
export_name_2024.rs rustdoc-json: Structured attributes 2025-07-15 16:52:41 +00:00
inline.rs rustdoc-json: Structured attributes 2025-07-15 16:52:41 +00:00
link_section_2021.rs rustdoc-json: Structured attributes 2025-07-15 16:52:41 +00:00
link_section_2024.rs rustdoc-json: Structured attributes 2025-07-15 16:52:41 +00:00
must_use.rs rustdoc-json: Structured attributes 2025-07-15 16:52:41 +00:00
no_mangle_2021.rs rustdoc-json: Structured attributes 2025-07-15 16:52:41 +00:00
no_mangle_2024.rs rustdoc-json: Structured attributes 2025-07-15 16:52:41 +00:00
non_exhaustive.rs rustdoc-json: Structured attributes 2025-07-15 16:52:41 +00:00
optimize.rs rustdoc-json: Structured attributes 2025-07-15 16:52:41 +00:00
repr_align.rs rustdoc-json: Structured attributes 2025-07-15 16:52:41 +00:00
repr_c.rs rustdoc-json: Structured attributes 2025-07-15 16:52:41 +00:00
repr_c_int_enum.rs rustdoc-json: Structured attributes 2025-07-15 16:52:41 +00:00
repr_combination.rs rustdoc-json: Structured attributes 2025-07-15 16:52:41 +00:00
repr_int_enum.rs rustdoc-json: Structured attributes 2025-07-15 16:52:41 +00:00
repr_packed.rs rustdoc-json: Structured attributes 2025-07-15 16:52:41 +00:00
target_feature.rs rustdoc-json: Structured attributes 2025-07-15 16:52:41 +00:00