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