Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
pattern
/
usefulness
/
issue-40221.rs
blob: e1f7e975b80e4288f4a370af12105119296d5e5b [
file
] [
log
] [
blame
] [
edit
]
enum
P
{
C
(
PC
),
}
enum
PC
{
Q
,
QA
,
}
fn
test
(
proto
:
P
)
{
match
proto
{
//~ ERROR non-exhaustive patterns
P
::
C
(
PC
::
Q
)
=>
(),
}
}
fn
main
()
{}