Sign in
fuchsia
/
third_party
/
rust
/
eda6dc928323fcd0ac1b51cea1aa79ab17e8519d
/
.
/
tests
/
ui
/
repr
/
repr-empty-packed.rs
blob: 6e390a12b15acc31d076eb01507ad6984ca97368 [
file
] [
log
] [
blame
]
//@ compile-flags: --crate-type=lib
#![
deny
(
unused_attributes
)]
#[
repr
()]
//~ ERROR unused attribute
#[
repr
(
packed
)]
//~ ERROR attribute should be applied to a struct or union
pub
enum
Foo
{
Bar
,
Baz
(
i32
),
}