]> git.lizzy.rs Git - rust.git/blob - tests/ui/coherence/coherence-blanket.rs
Auto merge of #107843 - bjorn3:sync_cg_clif-2023-02-09, r=bjorn3
[rust.git] / tests / ui / coherence / coherence-blanket.rs
1 // run-pass
2 #![allow(unused_imports)]
3 // aux-build:coherence_lib.rs
4
5 // pretty-expanded FIXME #23616
6
7 extern crate coherence_lib as lib;
8 use lib::Remote1;
9
10 pub trait Local {
11     fn foo(&self) { }
12 }
13
14 impl<T> Local for T { }
15
16 fn main() { }