1/*! ```compile_fail,E0599
2
3// Check that we can't use the par-iter API to access contents of an
4// `Rc`.
5
6use rayon::prelude::*;
7use std::rc::Rc;
8
9let x = vec![Rc::new(22), Rc::new(23)];
10let mut y = vec![];
11x.into_par_iter() //~ ERROR no method named `into_par_iter`
12 .map(|rc| *rc)
13 .collect_into_vec(&mut y);
14
15``` */
16