mirror of
				https://github.com/rust-lang/rust-analyzer.git
				synced 2025-10-31 20:09:01 +00:00 
			
		
		
		
	internal: Filter out opaque tokens in some of IDE feature macro descensions
This commit is contained in:
		
							parent
							
								
									ac4edbf9dc
								
							
						
					
					
						commit
						24d65bb7cf
					
				
					 11 changed files with 114 additions and 70 deletions
				
			
		|  | @ -409,7 +409,8 @@ fn traverse( | |||
|                     let mut r = 0; | ||||
|                     sema.descend_into_macros_breakable( | ||||
|                         InRealFile::new(file_id, token.clone()), | ||||
|                         |tok| { | ||||
|                         |tok, _ctx| { | ||||
|                             // FIXME: Consider checking ctx transparency for being opaque?
 | ||||
|                             let tok = tok.value; | ||||
|                             let tok_kind = tok.kind(); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lukas Wirth
						Lukas Wirth