diff --git a/futures/examples/client.rs b/futures/examples/client.rs index bb56d92f..ed49eef6 100644 --- a/futures/examples/client.rs +++ b/futures/examples/client.rs @@ -1,3 +1,6 @@ +/// Long and nested future chains can quickly result in large generic types. +#![type_length_limit="16777216"] + #[macro_use] extern crate log; extern crate lapin_futures as lapin; extern crate failure; diff --git a/futures/tests/connection.rs b/futures/tests/connection.rs index d3f98855..daa9eade 100644 --- a/futures/tests/connection.rs +++ b/futures/tests/connection.rs @@ -1,3 +1,6 @@ +/// Long and nested future chains can quickly result in large generic types. +#![type_length_limit="2097152"] + #[macro_use] extern crate log; extern crate lapin_futures as lapin; extern crate failure;