fparkan/vendor/rayon/tests/issue671.rs
Valentin Popov 1b6a04ca55
Initial vendor packages
Signed-off-by: Valentin Popov <valentin@popov.link>
2024-01-08 01:21:28 +04:00

17 lines
317 B
Rust

#![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<(), ()>>();
}