mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-02 04:48:13 +00:00
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:
parent
62dea277cc
commit
39391b0d38
5 changed files with 70 additions and 3 deletions
|
|
@ -279,6 +279,11 @@ Adt =
|
|||
| Struct
|
||||
| Union
|
||||
|
||||
VariantDef =
|
||||
Struct
|
||||
| Union
|
||||
| Variant
|
||||
|
||||
Const =
|
||||
Attr* Visibility?
|
||||
'default'?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue