]> git.proxmox.com Git - rustc.git/blob - src/test/ui/coherence/impl[t]-foreign[foreign[t]_local]-for-foreign.rs
New upstream version 1.40.0+dfsg1
[rustc.git] / src / test / ui / coherence / impl[t]-foreign[foreign[t]_local]-for-foreign.rs
1 #![feature(re_rebalance_coherence)]
2
3 // check-pass
4 // compile-flags:--crate-name=test
5 // aux-build:coherence_lib.rs
6
7 extern crate coherence_lib as lib;
8 use lib::*;
9 use std::rc::Rc;
10
11 struct Local;
12 impl<T> Remote2<Rc<T>, Local> for usize { }
13
14 fn main() {}