]> git.proxmox.com Git - rustc.git/blob - src/test/ui/coherence/coherence-blanket.rs
New upstream version 1.38.0+dfsg1
[rustc.git] / src / test / ui / coherence / coherence-blanket.rs
1 // run-pass
2 #![allow(unused_imports)]
3 // aux-build:coherence_lib.rs
4 // revisions: old re
5
6 #![cfg_attr(re, feature(re_rebalance_coherence))]
7
8 // pretty-expanded FIXME #23616
9
10 extern crate coherence_lib as lib;
11 use lib::Remote1;
12
13 pub trait Local {
14 fn foo(&self) { }
15 }
16
17 impl<T> Local for T { }
18
19 fn main() { }