2018-08-08 12:28:26 +00:00
|
|
|
error[E0277]: `*mut &'a isize` cannot be sent between threads safely
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/kindck-send-unsafe.rs:6:5
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
2019-08-24 21:44:43 +00:00
|
|
|
LL | fn assert_send<T:Send>() { }
|
2019-09-04 17:17:59 +00:00
|
|
|
| ----------- ---- required by this bound in `assert_send`
|
2019-08-24 21:44:43 +00:00
|
|
|
...
|
2018-08-08 12:28:26 +00:00
|
|
|
LL | assert_send::<*mut &'a isize>();
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `*mut &'a isize` cannot be sent between threads safely
|
|
|
|
|
|
|
|
|
= help: the trait `std::marker::Send` is not implemented for `*mut &'a isize`
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0277`.
|