mirror of
				https://github.com/rust-lang/rust-analyzer.git
				synced 2025-10-31 12:04:43 +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
				
			
		|  | @ -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 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Prajwal S N
						Prajwal S N