Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
attributes
/
unnamed-field-attributes-vis.rs
blob: d12155f6d81fdc6b6dcb2aea438278246f849999 [
file
] [
log
] [
blame
]
// Unnamed fields don't lose their visibility due to non-builtin attributes on them.
// check-pass
mod
m
{
pub
struct
S
(#[
rustfmt
::
skip
]
pub
u8
);
}
fn
main
()
{
m
::
S
(
0
);
}