2018-08-08 12:28:26 +00:00
|
|
|
error[E0277]: `*mut &'a isize` cannot be sent between threads safely
|
2019-09-20 18:58:20 +00:00
|
|
|
--> $DIR/kindck-send-unsafe.rs:6:19
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | assert_send::<*mut &'a isize>();
|
2019-09-20 18:58:20 +00:00
|
|
|
| ^^^^^^^^^^^^^^ `*mut &'a isize` cannot be sent between threads safely
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
2020-09-02 07:40:56 +00:00
|
|
|
= help: the trait `Send` is not implemented for `*mut &'a isize`
|
2021-07-31 16:26:55 +00:00
|
|
|
note: required by a bound in `assert_send`
|
|
|
|
--> $DIR/kindck-send-unsafe.rs:3:18
|
|
|
|
|
|
|
|
|
LL | fn assert_send<T:Send>() { }
|
|
|
|
| ^^^^ required by this bound in `assert_send`
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0277`.
|