Sign in
fuchsia
/
third_party
/
rust
/
57e8fc56852e7728d7160242bf13c3ab6e066bd8
/
.
/
src
/
test
/
ui
/
repr
/
repr-disallow-on-variant.rs
blob: 90cad7e647b057d54b75626a30847a66b5e37075 [
file
] [
log
] [
blame
]
struct
Test
;
enum
Foo
{
#[
repr
(
u8
)]
//~^ ERROR attribute should be applied to a struct, enum, or union
Variant
,
}
fn
main
()
{}