1
Fork 0
rust/compiler/rustc_builtin_macros/src/deriving
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
..
cmp Disallows #![feature(no_coverage)] on stable and beta 2021-05-05 07:52:26 -07:00
generic ast: Fix naming conventions in AST structures 2021-11-07 21:38:17 +08:00
bounds.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
clone.rs Auto merge of #87225 - estebank:cleanup, r=oli-obk 2021-07-19 18:44:27 +00:00
debug.rs Introduce a fast path that avoids the debug_tuple abstraction when deriving 2021-09-10 12:07:03 -07:00
decodable.rs fix derive(RustcEncodable, RustcDecodable) 2021-02-09 13:42:36 +01:00
default.rs Prohibit #[default] in invalid places 2021-07-27 15:47:49 -04:00
encodable.rs Make s pre-interned 2021-06-17 09:45:19 +09:00
hash.rs reduce borrowing and (de)referencing around match patterns (clippy::match_ref_pats) 2021-01-02 20:09:17 +01:00
mod.rs ast: Fix naming conventions in AST structures 2021-11-07 21:38:17 +08:00