]> git.lizzy.rs Git - rust.git/blob - src/test/ui/coherence/coherence-pair-covered-uncovered.rs
Merge commit 'dbee13661efa269cb4cd57bb4c6b99a19732b484' into sync_cg_clif-2020-12-27
[rust.git] / src / test / ui / coherence / coherence-pair-covered-uncovered.rs
1 // aux-build:coherence_lib.rs
2
3 extern crate coherence_lib as lib;
4 use lib::{Remote, Pair};
5
6 struct Local<T>(T);
7
8 impl<T,U> Remote for Pair<T,Local<U>> { }
9 //~^ ERROR E0117
10
11 fn main() { }