]> git.lizzy.rs Git - rust.git/blob - tests/ui/coherence/impl-foreign-for-local.rs
Auto merge of #107843 - bjorn3:sync_cg_clif-2023-02-09, r=bjorn3
[rust.git] / tests / ui / coherence / impl-foreign-for-local.rs
1 // compile-flags:--crate-name=test
2 // aux-build:coherence_lib.rs
3 // check-pass
4
5 extern crate coherence_lib as lib;
6 use lib::*;
7 use std::rc::Rc;
8
9 struct Local;
10
11 impl Remote for Local {}
12
13 fn main() {}