summaryrefslogtreecommitdiffstats
path: root/src/test/ui/coherence/coherence-pair-covered-uncovered.rs
blob: da970572fdee2db54cd6e77fd8ade674066d4943 (plain)
1
2
3
4
5
6
7
8
9
10
11
// aux-build:coherence_lib.rs

extern crate coherence_lib as lib;
use lib::{Remote, Pair};

struct Local<T>(T);

impl<T,U> Remote for Pair<T,Local<U>> { }
//~^ ERROR E0117

fn main() { }