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