Sha256: ebf8804993c103f9d8228aba0bb2a5f0aadb957de9f1eb59cf546dbace285201

Contents?: true

Size: 264 Bytes

Versions: 38

Compression:

Stored size: 264 Bytes

Contents

/*! ```compile_fail,E0277

// Check that we can't use the par-iter API to access contents of a `Cell`.

use rayon::prelude::*;
use std::cell::Cell;

let c = Cell::new(42_i32);
(0_i32..1024).into_par_iter()
    .map(|_| c.get()) //~ ERROR E0277
    .min();

``` */

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
wasmtime-29.0.0 ./ext/cargo-vendor/rayon-1.10.0/src/compile_fail/cell_par_iter.rs
wasmtime-28.0.0 ./ext/cargo-vendor/rayon-1.10.0/src/compile_fail/cell_par_iter.rs
wasmtime-27.0.0 ./ext/cargo-vendor/rayon-1.10.0/src/compile_fail/cell_par_iter.rs
wasmtime-26.0.0 ./ext/cargo-vendor/rayon-1.10.0/src/compile_fail/cell_par_iter.rs
wasmtime-25.0.2 ./ext/cargo-vendor/rayon-1.10.0/src/compile_fail/cell_par_iter.rs
wasmtime-25.0.1 ./ext/cargo-vendor/rayon-1.10.0/src/compile_fail/cell_par_iter.rs
wasmtime-25.0.0 ./ext/cargo-vendor/rayon-1.10.0/src/compile_fail/cell_par_iter.rs
wasmtime-24.0.0 ./ext/cargo-vendor/rayon-1.10.0/src/compile_fail/cell_par_iter.rs
wasmtime-23.0.2 ./ext/cargo-vendor/rayon-1.8.0/src/compile_fail/cell_par_iter.rs
wasmtime-22.0.0 ./ext/cargo-vendor/rayon-1.8.0/src/compile_fail/cell_par_iter.rs
wasmtime-21.0.1 ./ext/cargo-vendor/rayon-1.8.0/src/compile_fail/cell_par_iter.rs
wasmtime-20.0.2 ./ext/cargo-vendor/rayon-1.8.0/src/compile_fail/cell_par_iter.rs
wasmtime-20.0.0 ./ext/cargo-vendor/rayon-1.8.0/src/compile_fail/cell_par_iter.rs
wasmtime-18.0.3 ./ext/cargo-vendor/rayon-1.8.0/src/compile_fail/cell_par_iter.rs
wasmtime-17.0.1 ./ext/cargo-vendor/rayon-1.8.0/src/compile_fail/cell_par_iter.rs
wasmtime-17.0.0 ./ext/cargo-vendor/rayon-1.8.0/src/compile_fail/cell_par_iter.rs
wasmtime-16.0.0 ./ext/cargo-vendor/rayon-1.8.0/src/compile_fail/cell_par_iter.rs
wasmtime-15.0.1 ./ext/cargo-vendor/rayon-1.8.0/src/compile_fail/cell_par_iter.rs
wasmtime-15.0.0 ./ext/cargo-vendor/rayon-1.8.0/src/compile_fail/cell_par_iter.rs
wasmtime-14.0.4 ./ext/cargo-vendor/rayon-1.8.0/src/compile_fail/cell_par_iter.rs