Skip to content

Commit

Permalink
derive
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Nov 19, 2024
1 parent cdb7260 commit b386724
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/generate-code/src/generators/visitor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1539,7 +1539,7 @@ fn define_fields(crate_name: &Ident, node_types: &[&Item]) -> Vec<Item> {
{
defs.push(parse_quote!(
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[cfg_attr(feature = "serde-impl")]
#[cfg_attr(feature = "serde-impl", derive(serde::Serialize, serde::Deserialize))]
pub enum AstParentKind {
#(#kind_enum_members),*
}
Expand Down

0 comments on commit b386724

Please sign in to comment.