]> git.lizzy.rs Git - rust.git/blob - src/test/ui/coherence/impl[t]-foreign[t]-for-local.rs
Rollup merge of #104461 - mati865:gnullvm-aarch64-fixup, r=Mark-Simulacrum
[rust.git] / src / test / ui / coherence / impl[t]-foreign[t]-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<T> Remote1<T> for Local {}
12
13 fn main() {}