rust/tests/ui/coherence/coherence-all-remote.rs

10 lines
151 B
Rust

//@ aux-build:coherence_lib.rs
extern crate coherence_lib as lib;
use lib::Remote1;
impl<T> Remote1<T> for isize { }
//~^ ERROR E0210
fn main() { }