mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-16 19:57:10 +00:00
19 lines
338 B
Rust
19 lines
338 B
Rust
#![type_length_limit = "500000"]
|
|
|
|
extern crate rayon;
|
|
|
|
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<(), ()>>();
|
|
}
|