rust/compiler/rustc_parse/src/parser
Vadim Petrochenkov 2834f57c45 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.
2021-11-07 21:38:17 +08:00
..
attr.rs Provide more context on incorrect inner attribute 2021-09-02 19:08:30 +00:00
attr_wrapper.rs Change more x64 size checks to not apply to x32. 2021-09-05 16:42:36 +01:00
diagnostics.rs Some "parenthesis" and "parentheses" fixes 2021-10-17 12:04:01 +02:00
expr.rs some clippy::perf fixes 2021-10-07 22:31:33 +02:00
generics.rs Require passing an AttrWrapper to collect_tokens_trailing_token 2021-02-13 12:07:15 -05:00
item.rs ast: Fix naming conventions in AST structures 2021-11-07 21:38:17 +08:00
mod.rs Some "parenthesis" and "parentheses" fixes 2021-10-17 12:04:01 +02:00
nonterminal.rs Use if-let guards in the codebase 2021-08-25 20:24:35 +02:00
pat.rs Use multispan suggestions more often 2021-07-30 09:26:31 -07:00
path.rs Improve error messages for bad type constraints 2021-09-28 13:02:45 -07:00
stmt.rs Rollup merge of #89974 - est31:let_else_if_error, r=nagisa 2021-10-18 08:13:27 +02:00
ty.rs Some "parenthesis" and "parentheses" fixes 2021-10-17 12:04:01 +02:00