feat(visit): Implement more traits for AstKind (#5135)

This commit is contained in:
Donny/강동윤 2022-07-07 15:16:24 +09:00 committed by GitHub
parent e874060959
commit f26d59b770
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {