1 error[E0277]: `std::rc::Rc<{integer}>` cannot be sent between threads safely
2 --> $DIR/no_send-rc.rs:7:5
5 | ^^^ `std::rc::Rc<{integer}>` cannot be sent between threads safely
7 = help: the trait `std::marker::Send` is not implemented for `std::rc::Rc<{integer}>`
8 note: required by `bar`
9 --> $DIR/no_send-rc.rs:3:1
11 LL | fn bar<T: Send>(_: T) {}
12 | ^^^^^^^^^^^^^^^^^^^^^
14 error: aborting due to previous error
16 For more information about this error, try `rustc --explain E0277`.