From a69b82c7c594569a8c0eba30b3749aed905b415a Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Mon, 12 Sep 2016 01:26:47 -0700 Subject: [PATCH] Recursion limit --- serde_codegen/src/lib.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/serde_codegen/src/lib.rs b/serde_codegen/src/lib.rs index d3f0cab1..8dbfdf31 100644 --- a/serde_codegen/src/lib.rs +++ b/serde_codegen/src/lib.rs @@ -1,11 +1,12 @@ -#![recursion_limit = "1000"] - #![cfg_attr(feature = "clippy", plugin(clippy))] #![cfg_attr(feature = "clippy", feature(plugin))] #![cfg_attr(feature = "clippy", allow(too_many_arguments))] #![cfg_attr(feature = "clippy", allow(used_underscore_binding))] #![cfg_attr(feature = "with-libsyntax", feature(rustc_private, plugin))] +// The `quote!` macro requires deep recursion. +#![recursion_limit = "192"] + extern crate serde_codegen_internals as internals; #[cfg(feature = "with-syntex")]