diff options
| author | Wei Xu <1222863+xuwaters@users.noreply.github.com> | 2024-10-18 17:36:24 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-18 17:36:24 -0700 |
| commit | 0590422812c4c02b4292ee5043583f189d7f3647 (patch) | |
| tree | a1e2ff53d6a36032a9b54eb38995189646fed8c3 /src/tools/rust-analyzer | |
| parent | 0790356a0ce56d392bd25634567b239d2d1f9387 (diff) | |
Increase TOKEN_LIMIT for hir-expand
Diffstat (limited to 'src/tools/rust-analyzer')
| -rw-r--r-- | src/tools/rust-analyzer/crates/hir-expand/src/db.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/rust-analyzer/crates/hir-expand/src/db.rs b/src/tools/rust-analyzer/crates/hir-expand/src/db.rs index d412bf4eee5..0d19ae202ce 100644 --- a/src/tools/rust-analyzer/crates/hir-expand/src/db.rs +++ b/src/tools/rust-analyzer/crates/hir-expand/src/db.rs @@ -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 { |
