diff options
| author | Jakub Beránek <berykubik@gmail.com> | 2025-06-16 14:31:09 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-16 14:31:09 +0200 |
| commit | 379565835783a26fdf6aec6606c43429c63119d8 (patch) | |
| tree | a8bfd876e162bf52e2e76427ac76f5429a5bbd1e /tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | 34160872f280e9dead005cb81a2d084af785b386 (diff) | |
| parent | 1ac89f190fa8a77d4503138f5bc7667c253457f6 (diff) | |
| download | rust-379565835783a26fdf6aec6606c43429c63119d8.tar.gz rust-379565835783a26fdf6aec6606c43429c63119d8.zip | |
Rollup merge of #142082 - xizheyin:rustc_attr_data_structures, r=jdonszelmann
Refactor `rustc_attr_data_structures` documentation I was reading through `AttributeKind` and realized that attributes like `InlineAttr` didn't appear in it, however, I found them in `rustc_codegen_ssa` and understood why (guessing). There's almost no overall documentation for this crate, I've added the organized documentation at the top of `lib.rs`, and I've grouped the Attributes into two categories: `AttributeKind` that run all through the compiler, and the ones that are only used in `codegen_ssa`, such as `InlineAttr`, `OptimizeAttr`, `InstructionSetAttr`. Also, I've added documentation for `AttributeKind` that further explains why attributes like `InlineAttr` don't appear in it, with examples for each variant. r? ```@jdonszelmann```
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
