matrix_sdk examples: set `#![type_length_limit = "1075569"]`

Some examples no longer build after the following commits, set a
bigger-than-default type_length_limit to let tests pass.

The exceptions are not necessary on nightly and can be removed again
after https://github.com/rust-lang/rust/issues/54540 is fixed.
master
Dominique Martinet 2020-10-08 15:25:32 +02:00
parent a4eae1053c
commit 7d023ebdb9
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,7 @@
// allow biggr types until rustc fix, consider removing after new rust
// stable release. see https://github.com/rust-lang/rust/issues/54540
#![type_length_limit = "1075569"]
use std::{env, process::exit};
use matrix_sdk::{

View File

@ -1,3 +1,7 @@
// allow biggr types until rustc fix, consider removing after new rust
// stable release. see https://github.com/rust-lang/rust/issues/54540
#![type_length_limit = "1075569"]
use std::{
env,
fs::File,