Sign in
android
/
toolchain
/
rustc
/
89a0a0cd9cbd0a0138a09bd877bbc73859a8c330
/
.
/
src
/
test
/
ui
/
coherence
/
impl[t]-foreign[fundamental[t]]-for-local.rs
blob: ec21fdd4e04bcece8916a010e4e68b03581c1316 [
file
] [
log
] [
blame
]
// compile-flags:--crate-name=test
// aux-build:coherence_lib.rs
// check-pass
extern
crate coherence_lib
as
lib
;
use
lib
::*;
use
std
::
rc
::
Rc
;
struct
Local
;
impl
<
T
>
Remote1
<
Box
<
T
>>
for
Local
{}
impl
<
'a, T> Remote1<&'
a T
>
for
Local
{}
fn
main
()
{}