Skip to content

Commit

Permalink
Increase type length limit to more than 16 millions characters
Browse files Browse the repository at this point in the history
I suppose this means we're writing Good Code (tm)
  • Loading branch information
kureuil committed Nov 23, 2018
1 parent ca555f1 commit 1d3eabe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions futures/examples/client.rs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
3 changes: 3 additions & 0 deletions futures/tests/connection.rs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit 1d3eabe

Please sign in to comment.