aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorJonas Schievink <[email protected]>2020-12-10 16:51:39 +0000
committerJonas Schievink <[email protected]>2020-12-10 16:51:39 +0000
commit19508b474f6024ac5e0a645af59a1eba1075a344 (patch)
tree924d5b4385792209df50867b823c0c8a07569ac9 /crates
parent614e5a2272a96eabe30acea2f7c797a305a4f2fd (diff)
Double the macro token limit
Diffstat (limited to 'crates')
-rw-r--r--crates/hir_expand/src/db.rs2
1 files changed, 1 insertions, 1 deletions
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::{
17/// 17///
18/// If an invocation produces more tokens than this limit, it will not be stored in the database and 18/// If an invocation produces more tokens than this limit, it will not be stored in the database and
19/// an error will be emitted. 19/// an error will be emitted.
20const TOKEN_LIMIT: usize = 262144; 20const TOKEN_LIMIT: usize = 0x80000;
21 21
22#[derive(Debug, Clone, Eq, PartialEq)] 22#[derive(Debug, Clone, Eq, PartialEq)]
23pub enum TokenExpander { 23pub enum TokenExpander {