1 // compile-flags:--crate-name=test
2 // aux-build:coherence_lib.rs
4 extern crate coherence_lib as lib;
10 impl Remote1<Rc<i32>> for i32 {
11 //~^ ERROR only traits defined in the current crate
12 // | can be implemented for arbitrary types [E0117]
14 impl Remote1<Rc<Local>> for f64 {
15 //~^ ERROR only traits defined in the current crate
16 // | can be implemented for arbitrary types [E0117]
18 impl<T> Remote1<Rc<T>> for f32 {
19 //~^ ERROR only traits defined in the current crate
20 // | can be implemented for arbitrary types [E0117]