Skip to content

Commit c8d20e4

Browse files
committed
Update a compile-fail error
1 parent 91d3df6 commit c8d20e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/compile-fail/cell_par_iter.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ use std::cell::Cell;
88
fn main() {
99
let c = Cell::new(42_i32);
1010
(0_i32..1024).into_par_iter()
11-
.map(|_| c.get()) //~ ERROR Sync` is not satisfied
11+
.map(|_| c.get()) //~ ERROR E0277
1212
.min();
1313
}

0 commit comments

Comments
 (0)