]> git.proxmox.com Git - rustc.git/blob - src/test/ui/no_send-rc.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / no_send-rc.stderr
1 error[E0277]: `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 | ^ `Rc<{integer}>` cannot be sent between threads safely
9 |
10 = help: the trait `Send` is not implemented for `Rc<{integer}>`
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0277`.