Skip to content

Commit 0590422

Browse files
authored
Increase TOKEN_LIMIT for hir-expand
1 parent 0790356 commit 0590422

File tree

1 file changed

+1
-1
lines changed
  • src/tools/rust-analyzer/crates/hir-expand/src

1 file changed

+1
-1
lines changed

src/tools/rust-analyzer/crates/hir-expand/src/db.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ type MacroArgResult = (Arc<tt::Subtree>, SyntaxFixupUndoInfo, Span);
3535
/// an error will be emitted.
3636
///
3737
/// Actual max for `analysis-stats .` at some point: 30672.
38-
static TOKEN_LIMIT: Limit = Limit::new(1_048_576);
38+
static TOKEN_LIMIT: Limit = Limit::new(2_097_152);
3939

4040
#[derive(Debug, Clone, Eq, PartialEq)]
4141
pub enum TokenExpander {

0 commit comments

Comments
 (0)