From 645872394a526e59d9adccf77a44d317f298338f Mon Sep 17 00:00:00 2001 From: gilescope Date: Tue, 13 Jul 2021 11:25:08 +0100 Subject: [PATCH] Try remove recursion limits --- client/consensus/api/src/lib.rs | 3 --- primitives/consensus/common/src/lib.rs | 6 ------ 2 files changed, 9 deletions(-) diff --git a/client/consensus/api/src/lib.rs b/client/consensus/api/src/lib.rs index d0dde97145a49..89f66faa3882c 100644 --- a/client/consensus/api/src/lib.rs +++ b/client/consensus/api/src/lib.rs @@ -1,6 +1,3 @@ -// our error-chain could potentially blow up otherwise -#![recursion_limit="128"] - #[macro_use] extern crate log; pub mod import_queue; diff --git a/primitives/consensus/common/src/lib.rs b/primitives/consensus/common/src/lib.rs index 73b7ae1cac852..1f2aac0db1e52 100644 --- a/primitives/consensus/common/src/lib.rs +++ b/primitives/consensus/common/src/lib.rs @@ -21,12 +21,6 @@ //! change. Implementors of traits should not rely on the interfaces to remain //! the same. -// This provides "unused" building blocks to other crates -#![allow(dead_code)] - -// our error-chain could potentially blow up otherwise -#![recursion_limit="128"] - use std::sync::Arc; use std::time::Duration;