about summary refs log tree commit diff
path: root/tests/ui/coherence/coherence-blanket.rs
blob: cc95e15a4122fe0837dec70f3339b7d5a0df96e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//@ run-pass
#![allow(unused_imports)]
//@ aux-build:coherence_lib.rs


extern crate coherence_lib as lib;
use lib::Remote1;

pub trait Local {
    fn foo(&self) { }
}

impl<T> Local for T { }

fn main() { }