2019-10-23 15:22:13 -05:00
|
|
|
#![feature(fundamental)]
|
|
|
|
|
|
|
|
//@ compile-flags:--crate-name=test
|
|
|
|
//@ aux-build:coherence_lib.rs
|
|
|
|
//@ check-pass
|
|
|
|
|
|
|
|
extern crate coherence_lib as lib;
|
|
|
|
use lib::*;
|
|
|
|
|
|
|
|
#[fundamental]
|
2020-03-19 22:28:17 -05:00
|
|
|
struct Local<T>(T);
|
2019-10-23 15:22:13 -05:00
|
|
|
|
2020-03-19 22:28:17 -05:00
|
|
|
impl Remote for Local<()> {}
|
2019-10-23 15:22:13 -05:00
|
|
|
|
|
|
|
fn main() {}
|