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