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