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
parent
a4eae1053c
commit
7d023ebdb9
|
@ -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::{
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue