Sign in
android
/
platform
/
external
/
rust
/
crates
/
pin-project
/
9b7f4fa6211ce5af808cf2a85ce3d0345e2066f5
/
.
/
tests
/
ui
/
cfg
/
unsupported.rs
blob: 5205307d221dd0976e09bfa95032657e6bda4acf [
file
] [
log
] [
blame
]
use
pin_project
::
pin_project
;
//~ ERROR may not be used on structs with zero fields
// span is lost.
// Refs: https://github.com/rust-lang/rust/issues/43081
#[
pin_project
]
struct
Struct
{
#[
cfg
(
any
())]
#[
pin
]
f
:
u8
,
}
fn
main
()
{}