fix(hir): VariantDef is impl HasSource

A new syntax node `ast::VariantDef` has been introduced to map between the HIR node and the AST.
The files have been updated with `cargo test -p xtask`.

Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
This commit is contained in:
Prajwal S N 2025-03-08 01:25:27 +05:30
parent 62dea277cc
commit 39391b0d38
No known key found for this signature in database
GPG key ID: 60701A603988FAC2
5 changed files with 70 additions and 3 deletions

View file

@ -315,6 +315,7 @@ pub enum SyntaxKind {
USE_TREE,
USE_TREE_LIST,
VARIANT,
VARIANT_DEF,
VARIANT_LIST,
VISIBILITY,
WHERE_CLAUSE,
@ -501,6 +502,7 @@ impl SyntaxKind {
| USE_TREE
| USE_TREE_LIST
| VARIANT
| VARIANT_DEF
| VARIANT_LIST
| VISIBILITY
| WHERE_CLAUSE