1 error[E0117]: only traits defined in the current crate can be implemented for arbitrary types
2 --> $DIR/impl[t]-foreign-for-foreign[t].rs:11:1
4 LL | impl Remote for Rc<Local> {
5 | ^^^^^^^^^^^^^^^^---------
7 | | `std::rc::Rc` is not defined in the current crate
8 | impl doesn't use only types from inside the current crate
10 = note: define and implement a trait or new type instead
12 error[E0117]: only traits defined in the current crate can be implemented for arbitrary types
13 --> $DIR/impl[t]-foreign-for-foreign[t].rs:16:1
15 LL | impl<T> Remote for Arc<T> {
16 | ^^^^^^^^^^^^^^^^^^^------
18 | | `std::sync::Arc` is not defined in the current crate
19 | impl doesn't use only types from inside the current crate
21 = note: define and implement a trait or new type instead
23 error: aborting due to 2 previous errors
25 For more information about this error, try `rustc --explain E0117`.