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

@ -279,6 +279,11 @@ Adt =
| Struct
| Union
VariantDef =
Struct
| Union
| Variant
Const =
Attr* Visibility?
'default'?