]> git.proxmox.com Git - rustc.git/blob - src/test/ui/no_send-rc.stderr
New upstream version 1.44.1+dfsg1
[rustc.git] / src / test / ui / no_send-rc.stderr
1 error[E0277]: `std::rc::Rc<{integer}>` cannot be sent between threads safely
2 --> $DIR/no_send-rc.rs:7:9
3 |
4 LL | fn bar<T: Send>(_: T) {}
5 | ---- required by this bound in `bar`
6 ...
7 LL | bar(x);
8 | ^ `std::rc::Rc<{integer}>` cannot be sent between threads safely
9 |
10 = help: the trait `std::marker::Send` is not implemented for `std::rc::Rc<{integer}>`
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0277`.