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