mirror of
				https://github.com/rust-lang/rust-analyzer.git
				synced 2025-10-31 03:54:42 +00:00 
			
		
		
		
	Make HirFileId, EditionedFileId and macro files Salsa struct
				
					
				
			And make more queries non-interned. Also flip the default for queries, now the default is to not intern and to intern a query you need to say `invoke_interned`.
This commit is contained in:
		
							parent
							
								
									02ade79631
								
							
						
					
					
						commit
						c58ddafe90
					
				
					 195 changed files with 1473 additions and 1525 deletions
				
			
		|  | @ -34,7 +34,7 @@ fn matches_to_edit_at_offset( | |||
|     for m in &matches.matches { | ||||
|         edit_builder.replace( | ||||
|             m.range.range.checked_sub(relative_start).unwrap(), | ||||
|             render_replace(db, m, file_src, rules, m.range.file_id.edition()), | ||||
|             render_replace(db, m, file_src, rules, m.range.file_id.edition(db)), | ||||
|         ); | ||||
|     } | ||||
|     edit_builder.finish() | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Chayim Refael Friedman
						Chayim Refael Friedman