mirror of
				https://github.com/rust-lang/rust-analyzer.git
				synced 2025-11-03 13:13:18 +00:00 
			
		
		
		
	Increase TOKEN_LIMIT for hir-expand
This commit is contained in:
		
							parent
							
								
									3ddfb0da47
								
							
						
					
					
						commit
						cfa5df107a
					
				@ -35,7 +35,7 @@ type MacroArgResult = (Arc<tt::Subtree>, SyntaxFixupUndoInfo, Span);
 | 
				
			|||||||
/// an error will be emitted.
 | 
					/// an error will be emitted.
 | 
				
			||||||
///
 | 
					///
 | 
				
			||||||
/// Actual max for `analysis-stats .` at some point: 30672.
 | 
					/// Actual max for `analysis-stats .` at some point: 30672.
 | 
				
			||||||
static TOKEN_LIMIT: Limit = Limit::new(1_048_576);
 | 
					static TOKEN_LIMIT: Limit = Limit::new(2_097_152);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#[derive(Debug, Clone, Eq, PartialEq)]
 | 
					#[derive(Debug, Clone, Eq, PartialEq)]
 | 
				
			||||||
pub enum TokenExpander {
 | 
					pub enum TokenExpander {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user