Sign in
android
/
toolchain
/
rustc
/
5139364148b53d79de1b5e778004d41a6a33a4a2
/
.
/
tests
/
ui
/
parser
/
issues
/
issue-99625-enum-struct-mutually-exclusive.rs
blob: 9cc886641293b3731fb5fcb781143ded6dc0ba85 [
file
] [
log
] [
blame
]
// run-rustfix
pub
enum
struct
Range
{
//~^ ERROR `enum` and `struct` are mutually exclusive
Valid
{
begin
:
u32
,
len
:
u32
,
},
Out
,
}
fn
main
()
{
}