mirror of
https://github.com/swc-project/swc.git
synced 2024-10-04 20:28:43 +03:00
feat(visit): Implement more traits for AstKind
(#5135)
This commit is contained in:
parent
e874060959
commit
f26d59b770
@ -294,7 +294,7 @@ fn make_ast_enum(types: &[Type], is_ref: bool) -> Item {
|
||||
style: AttrStyle::Outer,
|
||||
bracket_token: def_site(),
|
||||
path: q!({ derive }).parse(),
|
||||
tokens: q!({ (Eq) }).into(),
|
||||
tokens: q!({ (Eq, PartialOrd, Ord, Hash) }).into(),
|
||||
});
|
||||
}
|
||||
attrs.push(Attribute {
|
||||
|
Loading…
Reference in New Issue
Block a user