rust/tests/ui/coherence/impl[t]-foreign[foreign[t]_local]-for-foreign.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
217 B
Rust
Raw Normal View History

2019-09-13 13:57:06 -05:00
// 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() {}