Sign in
rust
/
rust
/
08650fbb506c44fbc95d91abfb7cd95a56bbff30
/
.
/
src
/
test
/
ui
/
issues
/
issue-12285.rs
blob: 24ac5d2fbbf909d8b7d5a266a9f0952e667e8306 [
file
]
// run-pass
struct
S
;
fn
main
()
{
match
Some
(&
S
)
{
Some
(&
S
)
=>
{},
_x
=>
unreachable
!()
}
match
Some
(&
S
)
{
Some
(&
S
)
=>
{},
None
=>
unreachable
!()
}
}