1 // compile-flags:--crate-name=test
2 // aux-build:coherence_lib.rs
4 extern crate coherence_lib as lib;
11 impl Remote for Rc<Local> {
12 //~^ ERROR only traits defined in the current crate
13 // | can be implemented for arbitrary types [E0117]
16 impl<T> Remote for Arc<T> {
17 //~^ ERROR only traits defined in the current crate
18 // | can be implemented for arbitrary types [E0117]