Sign in
rust
/
rustfmt
/
refs/heads/libsyntax
/
.
/
tests
/
target
/
empty-tuple-no-conversion-to-unit-struct.rs
blob: 778937b0d56ca5819cf6536be48cabe95f02cc8f [
file
] [
log
] [
blame
]
enum
TestEnum
{
Arm1
(),
Arm2
,
}
fn
foo
()
{
let
test
=
TestEnum
::
Arm1
;
match
test
{
TestEnum
::
Arm1
()
=>
{}
TestEnum
::
Arm2
=>
{}
}
}