Sign in
rust
/
rust-lang
/
rust
/
refs/heads/perf-tmp
/
.
/
tests
/
ui
/
coherence
/
impl-foreign-for-locally-defined-fundamental.rs
blob: 0f66314e884dd08a6b32e5524c8e6466c0cd56a9 [
file
] [
log
] [
blame
]
#![
feature
(
fundamental
)]
//@ compile-flags:--crate-name=test
//@ aux-build:coherence_lib.rs
//@ check-pass
extern
crate coherence_lib
as
lib
;
use
lib
::*;
#[
fundamental
]
struct
Local
<
T
>(
T
);
impl
Remote
for
Local
<()>
{}
fn
main
()
{}