mirror of
				https://github.com/rust-lang/rust-analyzer.git
				synced 2025-10-30 11:37:31 +00:00 
			
		
		
		
	fix: Fix, clarify and require a value for proc_macro_cwd of CrateData
				
					
				
			This commit is contained in:
		
							parent
							
								
									2e1ff255ae
								
							
						
					
					
						commit
						faf1b49a9a
					
				
					 17 changed files with 143 additions and 74 deletions
				
			
		|  | @ -170,7 +170,7 @@ impl ProcMacro { | |||
|         def_site: Span, | ||||
|         call_site: Span, | ||||
|         mixed_site: Span, | ||||
|         current_dir: Option<String>, | ||||
|         current_dir: String, | ||||
|     ) -> Result<Result<tt::TopSubtree<Span>, PanicMessage>, ServerError> { | ||||
|         let version = self.process.version(); | ||||
| 
 | ||||
|  | @ -198,7 +198,7 @@ impl ProcMacro { | |||
|             }, | ||||
|             lib: self.dylib_path.to_path_buf().into(), | ||||
|             env, | ||||
|             current_dir, | ||||
|             current_dir: Some(current_dir), | ||||
|         }; | ||||
| 
 | ||||
|         let response = self.process.send_task(Request::ExpandMacro(Box::new(task)))?; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lukas Wirth
						Lukas Wirth