From 1d3eabef58189ab12563c2a1bf5a57a112c905f5 Mon Sep 17 00:00:00 2001 From: Louis Kureuil Person Date: Fri, 23 Nov 2018 00:34:33 +0100 Subject: [PATCH] Increase type length limit to more than 16 millions characters I suppose this means we're writing Good Code (tm) --- futures/examples/client.rs | 3 +++ futures/tests/connection.rs | 3 +++ 2 files changed, 6 insertions(+) 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;