13 lines
220 B
Rust
13 lines
220 B
Rust
//@ check-pass
|
|
//@ compile-flags:--crate-name=test
|
|
//@ aux-build:coherence_lib.rs
|
|
|
|
extern crate coherence_lib as lib;
|
|
use lib::*;
|
|
use std::rc::Rc;
|
|
|
|
struct Local;
|
|
impl<T> Remote2<Rc<T>, Local> for usize { }
|
|
|
|
fn main() {}
|