diff options
| author | Alona Enraght-Moony <code@alona.page> | 2025-06-20 02:48:15 +0000 |
|---|---|---|
| committer | Alona Enraght-Moony <code@alona.page> | 2025-07-15 16:52:41 +0000 |
| commit | 078332fdc8e11f7ff8253c019085098538ec3c2a (patch) | |
| tree | 25c35cd99077885e2ac7d26e2421f87972dab9db /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | cccf075eba88363269e8589ebb8d40874cc542d8 (diff) | |
| download | rust-078332fdc8e11f7ff8253c019085098538ec3c2a.tar.gz rust-078332fdc8e11f7ff8253c019085098538ec3c2a.zip | |
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).
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
