]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/coherence/impl[t]-foreign[local]-for-foreign[t].rs
1 // compile-flags:--crate-name=test
2 // aux-build:coherence_lib.rs
5 extern crate coherence_lib
as lib
;
10 struct Local1
<S
>(Rc
<S
>);
12 impl<T
> Remote1
<Local
> for Rc
<T
> {}
13 impl<T
, S
> Remote1
<Local1
<S
>> for Rc
<T
> {}