]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/coherence/coherence-pair-covered-uncovered-1.rs
15868ca868610a4422da6739d5e77997daa63f2a
1 // Test that the same coverage rules apply even if the local type appears in the
2 // list of type parameters, not the self type.
4 // aux-build:coherence_lib.rs
7 extern crate coherence_lib
as lib
;
8 use lib
::{Remote1, Pair}
;
10 pub struct Local
<T
>(T
);
12 impl<T
, U
> Remote1
<Pair
<T
, Local
<U
>>> for i32 { }