]> git.lizzy.rs Git - rust.git/blob - src/test/ui/typeck/typeck-default-trait-impl-negation-send.stderr
Add 'src/tools/rust-analyzer/' from commit '977e12a0bdc3e329af179ef3a9d466af9eb613bb'
[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`.