about summary refs log tree commit diff
path: root/tests/rustdoc-json/attrs/repr_align.rs
AgeCommit message (Collapse)AuthorLines
2025-07-15rustdoc-json: Structured attributesAlona Enraght-Moony-1/+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-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-1/+1
Done automatically with VSCode.
2025-03-16rustdoc-json: Add tests for `#[repr(...)]`Alona Enraght-Moony-0/+8
Co-authored-by: Predrag Gruevski <obi1kenobi82@gmail.com>