about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-06-18 02:00:18 +0000
committerbors <bors@rust-lang.org>2021-06-18 02:00:18 +0000
commit1a462831ad4c6966f3baabe5cbf21cb9f330ffc4 (patch)
tree19ef9cdc220381b6f190c8062a824e364b797de2 /compiler/rustc_codegen_llvm/src
parenta6bc43ea846ee568ef4e890d4ac2a4cc03475bfc (diff)
parent4f8e0ebcc58613b1095a9f47753547698b0b34fa (diff)
downloadrust-1a462831ad4c6966f3baabe5cbf21cb9f330ffc4.tar.gz
rust-1a462831ad4c6966f3baabe5cbf21cb9f330ffc4.zip
Auto merge of #86385 - JohnTitor:use-attrvec, r=davidtwco
Use `AttrVec` for `Arm`, `FieldDef`, and `Variant`

Uses `AttrVec` for `Arm`, `FieldDef`, and `Variant`, i.e., where the size of the vector can be empty often.
Skips `Crate` and `Item` because I think they may have the attributes on common cases and need more work outside of `rustc_ast` (e.g. rustc_expand needs a lot of tweaks). But if it's reasonable to change, I'm happy to do so.

Fixes #77662
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions