From 19508b474f6024ac5e0a645af59a1eba1075a344 Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Thu, 10 Dec 2020 17:51:39 +0100 Subject: Double the macro token limit --- crates/hir_expand/src/db.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates') diff --git a/crates/hir_expand/src/db.rs b/crates/hir_expand/src/db.rs index 3c0ee284e..245b4362d 100644 --- a/crates/hir_expand/src/db.rs +++ b/crates/hir_expand/src/db.rs @@ -17,7 +17,7 @@ use crate::{ /// /// If an invocation produces more tokens than this limit, it will not be stored in the database and /// an error will be emitted. -const TOKEN_LIMIT: usize = 262144; +const TOKEN_LIMIT: usize = 0x80000; #[derive(Debug, Clone, Eq, PartialEq)] pub enum TokenExpander { -- cgit v1.2.3