diff options
Diffstat (limited to 'crates/ra_hir_expand/src')
-rw-r--r-- | crates/ra_hir_expand/src/db.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/crates/ra_hir_expand/src/db.rs b/crates/ra_hir_expand/src/db.rs index ad4a0732e..f1918817e 100644 --- a/crates/ra_hir_expand/src/db.rs +++ b/crates/ra_hir_expand/src/db.rs | |||
@@ -206,7 +206,6 @@ fn macro_expand_with_arg( | |||
206 | }; | 206 | }; |
207 | let (tt, err) = macro_rules.0.expand(db, lazy_id, ¯o_arg.0); | 207 | let (tt, err) = macro_rules.0.expand(db, lazy_id, ¯o_arg.0); |
208 | // Set a hard limit for the expanded tt | 208 | // Set a hard limit for the expanded tt |
209 | eprintln!("expansion size: {}", tt.count()); | ||
210 | let count = tt.count(); | 209 | let count = tt.count(); |
211 | if count > 65536 { | 210 | if count > 65536 { |
212 | return (None, Some(format!("Total tokens count exceed limit : count = {}", count))); | 211 | return (None, Some(format!("Total tokens count exceed limit : count = {}", count))); |