1 // aux-build:orphan-check-diagnostics.rs
5 extern crate orphan_check_diagnostics
;
7 use orphan_check_diagnostics
::RemoteTrait
;
9 trait LocalTrait { fn dummy(&self) { }
}
11 impl<T
> RemoteTrait
for T
where T
: LocalTrait {}
12 //~^ ERROR type parameter `T` must be used as the type parameter for some local type