1 error[E0277]: `(dyn Dummy + 'a)` cannot be shared between threads safely
2 --> $DIR/kindck-send-object1.rs:10:5
4 LL | fn assert_send<T:Send+'static>() { }
5 | ---- required by this bound in `assert_send`
7 LL | assert_send::<&'a dyn Dummy>();
8 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `(dyn Dummy + 'a)` cannot be shared between threads safely
10 = help: the trait `Sync` is not implemented for `(dyn Dummy + 'a)`
11 = note: required because of the requirements on the impl of `Send` for `&'a (dyn Dummy + 'a)`
13 error[E0277]: `(dyn Dummy + 'a)` cannot be sent between threads safely
14 --> $DIR/kindck-send-object1.rs:29:5
16 LL | fn assert_send<T:Send+'static>() { }
17 | ---- required by this bound in `assert_send`
19 LL | assert_send::<Box<dyn Dummy + 'a>>();
20 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `(dyn Dummy + 'a)` cannot be sent between threads safely
22 = help: the trait `Send` is not implemented for `(dyn Dummy + 'a)`
23 = note: required because of the requirements on the impl of `Send` for `Unique<(dyn Dummy + 'a)>`
24 = note: required because it appears within the type `Box<(dyn Dummy + 'a)>`
26 error: aborting due to 2 previous errors
28 For more information about this error, try `rustc --explain E0277`.