Skip to content

Commit

Permalink
Increase TOKEN_LIMIT for hir-expand
Browse files Browse the repository at this point in the history
  • Loading branch information
xuwaters authored Oct 19, 2024
1 parent 0790356 commit 0590422
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/rust-analyzer/crates/hir-expand/src/db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ type MacroArgResult = (Arc<tt::Subtree>, SyntaxFixupUndoInfo, Span);
/// an error will be emitted.
///
/// 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)]
pub enum TokenExpander {
Expand Down

0 comments on commit 0590422

Please sign in to comment.