denyhosts/clamav/libclamav_rust/.cargo/vendor/rayon/tests/issue671.rs

17 lines
317 B
Rust
Raw Normal View History

2023-01-14 18:28:39 +08:00
#![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<(), ()>>();
}