Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
rust-2018
/
uniform-paths
/
fn-local-enum.rs
blob: 49b920907223da9faf330b22b882b5bc0df5f9cc [
file
] [
log
] [
blame
] [
edit
]
//@ build-pass (FIXME(62277): could be check-pass?)
//@ edition:2018
fn
main
()
{
enum
E
{
A
,
B
,
C
}
use
E
::*;
match
A
{
A
=>
{}
B
=>
{}
C
=>
{}
}
}