Sign in
rust
/
rust-lang
/
rust
/
HEAD
/
.
/
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
),
}