Sign in
fuchsia
/
third_party
/
rust
/
15f159addefd8fea7564ba7617c8af78582b7816
/
.
/
src
/
test
/
ui
/
coherence
/
impl-foreign-for-locally-defined-fundamental[foreign].rs
blob: 1e11789ef398dbfdb33eb5a758125cff46211cab [
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
MyBox
<
T
>(
T
);
impl
<
T
>
Remote
for
MyBox
<
T
>
{}
fn
main
()
{}