diff options
author | Jonas Schievink <[email protected]> | 2020-12-10 16:51:39 +0000 |
---|---|---|
committer | Jonas Schievink <[email protected]> | 2020-12-10 16:51:39 +0000 |
commit | 19508b474f6024ac5e0a645af59a1eba1075a344 (patch) | |
tree | 924d5b4385792209df50867b823c0c8a07569ac9 /crates/hir_expand/src | |
parent | 614e5a2272a96eabe30acea2f7c797a305a4f2fd (diff) |
Double the macro token limit
Diffstat (limited to 'crates/hir_expand/src')
-rw-r--r-- | crates/hir_expand/src/db.rs | 2 |
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. |
20 | const TOKEN_LIMIT: usize = 262144; | 20 | const TOKEN_LIMIT: usize = 0x80000; |
21 | 21 | ||
22 | #[derive(Debug, Clone, Eq, PartialEq)] | 22 | #[derive(Debug, Clone, Eq, PartialEq)] |
23 | pub enum TokenExpander { | 23 | pub enum TokenExpander { |