summaryrefslogtreecommitdiffstats
path: root/src/test/ui/coherence/coherence-blanket.rs
blob: 55fa89d75070a469d0e98ecff75c8f537a73bc91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// run-pass
#![allow(unused_imports)]
// aux-build:coherence_lib.rs

// pretty-expanded FIXME #23616

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

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

impl<T> Local for T { }

fn main() { }