]> git.lizzy.rs Git - rust.git/blob - tests/ui/coherence/coherence-overlapping-pairs.rs
Auto merge of #107843 - bjorn3:sync_cg_clif-2023-02-09, r=bjorn3
[rust.git] / tests / ui / coherence / coherence-overlapping-pairs.rs
1 // aux-build:coherence_lib.rs
2
3 extern crate coherence_lib as lib;
4 use lib::Remote;
5
6 struct Foo;
7
8 impl<T> Remote for lib::Pair<T,Foo> { }
9 //~^ ERROR E0117
10
11 fn main() { }