1#![type_length_limit = "10000"]
2
3use rayon::prelude::*;
4
5#[test]
6fn type_length_limit() {
7 let input = vec![1, 2, 3, 4, 5];
8 let (indexes, (squares, cubes)): (Vec<_>, (Vec<_>, Vec<_>)) = input
9 .par_iter()
10 .map(|x| (x * x, x * x * x))
11 .enumerate()
12 .unzip();
13
14 drop(indexes);
15 drop(squares);
16 drop(cubes);
17}
18