]> git.lizzy.rs Git - rust.git/blob - src/test/ui/typeck/typeck-default-trait-impl-negation-send.stderr
Merge commit 'e9d1a0a7b0b28dd422f1a790ccde532acafbf193' into sync_cg_clif-2022-08-24
[rust.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`.