2024-02-16 20:02:50 +00:00
|
|
|
//@ aux-build:coherence_lib.rs
|
2015-01-01 16:45:59 -05:00
|
|
|
|
2015-03-19 15:39:03 -07:00
|
|
|
extern crate coherence_lib as lib;
|
2015-01-01 16:45:59 -05:00
|
|
|
use lib::{Remote, Pair};
|
|
|
|
|
|
|
|
|
|
struct Local<T>(T);
|
|
|
|
|
|
|
|
|
|
impl<T,U> Remote for Pair<T,Local<U>> { }
|
2019-10-26 17:28:02 +02:00
|
|
|
//~^ ERROR E0117
|
2015-01-01 16:45:59 -05:00
|
|
|
|
|
|
|
|
fn main() { }
|