☰
Debian Codegraph
@
0.1.5-1
/
/
tests
/
ui
/
ffi.rs
☽
☼
tests/ui/ffi.rs
code
plain
raw
symbols
SCIP
MIT
or
Apache-2.0
2018-2022 David Tolnay <
[email protected]
>
debian/copyright
1
#![deny(improper_ctypes_definitions)]
2
3
use
ghost::phantom;
4
5
#[phantom]
6
pub
struct
MyPhantom
<
T
>;
7
8
pub
extern
"C"
fn
extern_fn
(
_phantom
:
MyPhantom
<
i32
>) {}
9
10
fn
main
() {}