about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-11-07 15:19:11 +0000
committerbors <bors@rust-lang.org>2021-11-07 15:19:11 +0000
commit68568dcb8ff49a3d70f4cc2d9215b5753d088738 (patch)
tree719962657b5d72f28b84204e2ffbe37cba4f96e0 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentfecfc0e6cc78d74d5898f168cfeee81256ac9ac7 (diff)
parent2834f57c4584e33471f8bdc3cc57617fc0863fde (diff)
downloadrust-68568dcb8ff49a3d70f4cc2d9215b5753d088738.tar.gz
rust-68568dcb8ff49a3d70f4cc2d9215b5753d088738.zip
Auto merge of #90671 - petrochenkov:astnaming, r=jackh726
ast: Fix naming conventions in AST structures

TraitKind -> Trait
TyAliasKind -> TyAlias
ImplKind -> Impl
FnKind -> Fn

All `*Kind`s in AST are supposed to be enums.

Tuple structs are converted to braced structs for the types above, and fields are reordered in syntactic order.

Also, mutable AST visitor now correctly visit spans in defaultness, unsafety, impl polarity and constness.

Noticed when reviewing #90076.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions