We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b21c7b commit 7f54dedCopy full SHA for 7f54ded
crates/hir_expand/src/db.rs
@@ -223,7 +223,7 @@ fn macro_expand_with_arg(
223
let ExpandResult(tt, err) = macro_rules.0.expand(db, lazy_id, ¯o_arg.0);
224
// Set a hard limit for the expanded tt
225
let count = tt.count();
226
- if count > 65536 {
+ if count > 262144 {
227
return (None, Some(format!("Total tokens count exceed limit : count = {}", count)));
228
}
229
(Some(Arc::new(tt)), err.map(|e| format!("{:?}", e)))
0 commit comments