1 #![type_length_limit = "500000"]
2 
3 use rayon::prelude::*;
4 
5 #[test]
type_length_limit()6 fn type_length_limit() {
7     let _ = Vec::<Result<(), ()>>::new()
8         .into_par_iter()
9         .map(|x| x)
10         .map(|x| x)
11         .map(|x| x)
12         .map(|x| x)
13         .map(|x| x)
14         .map(|x| x)
15         .collect::<Result<(), ()>>();
16 }
17