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-14.0.3 ./ext/cargo-vendor/rayon-1.8.0/src/compile_fail/cell_par_iter.rs
wasmtime-14.0.1 ./ext/cargo-vendor/rayon-1.8.0/src/compile_fail/cell_par_iter.rs
wasmtime-14.0.0 ./ext/cargo-vendor/rayon-1.8.0/src/compile_fail/cell_par_iter.rs
wasmtime-13.0.0 ./ext/cargo-vendor/rayon-1.7.0/src/compile_fail/cell_par_iter.rs
wasmtime-12.0.1 ./ext/cargo-vendor/rayon-1.7.0/src/compile_fail/cell_par_iter.rs
wasmtime-12.0.0 ./ext/cargo-vendor/rayon-1.7.0/src/compile_fail/cell_par_iter.rs
wasmtime-11.0.0 ./ext/cargo-vendor/rayon-1.7.0/src/compile_fail/cell_par_iter.rs
wasmtime-10.0.1 ./ext/cargo-vendor/rayon-1.7.0/src/compile_fail/cell_par_iter.rs
wasmtime-10.0.0 ./ext/cargo-vendor/rayon-1.7.0/src/compile_fail/cell_par_iter.rs
wasmtime-9.0.4 ./ext/cargo-vendor/rayon-1.7.0/src/compile_fail/cell_par_iter.rs
wasmtime-9.0.1 ./ext/cargo-vendor/rayon-1.7.0/src/compile_fail/cell_par_iter.rs
wasmtime-8.0.0 ./ext/cargo-vendor/rayon-1.7.0/src/compile_fail/cell_par_iter.rs
wasmtime-7.0.0 ./ext/cargo-vendor/rayon-1.7.0/src/compile_fail/cell_par_iter.rs
wasmtime-6.0.1 ./ext/cargo-vendor/rayon-1.6.1/src/compile_fail/cell_par_iter.rs
wasmtime-6.0.0 ./ext/cargo-vendor/rayon-1.6.1/src/compile_fail/cell_par_iter.rs
wasmtime-5.0.0 ./ext/cargo-vendor/rayon-1.6.1/src/compile_fail/cell_par_iter.rs
wasmtime-0.4.1 ./ext/cargo-vendor/rayon-1.6.0/src/compile_fail/cell_par_iter.rs
wasmtime-0.4.0 ./ext/cargo-vendor/rayon-1.6.0/src/compile_fail/cell_par_iter.rs