Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
vendor
/
rayon-1.5.1
/
tests
/
issue671.rs
blob: 9d0953fe6aa39b56ae819eb4d63f363c69c85849 [
file
] [
log
] [
blame
] [
edit
]
#![
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
<(),
()>>();
}