about summary refs log tree commit diff
path: root/tests/ui/coherence/coherence-pair-covered-uncovered.rs
blob: 3e5fceacabf6eea6fb7761ec84e073389ef66234 (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() { }