Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
src
/
test
/
ui
/
issues
/
issue-16819.rs
blob: cc0200904e5106452e588da51925a61d8a2d6a9f [
file
] [
log
] [
blame
]
// run-pass
#![
allow
(
unused_variables
)]
// `#[cfg]` on struct field permits empty unusable struct
struct
S
{
#[
cfg
(
untrue
)]
a
:
int
,
}
fn
main
()
{
let
s
=
S
{};
}