Sign in
fuchsia
/
third_party
/
rust
/
2fcea9fb68c8e04f10e5cb15bbfb486de9800afa
/
.
/
src
/
tools
/
clippy
/
tests
/
ui
/
crashes
/
ice-7012.rs
blob: 48c1c5a98d40a7014ea2d67d2713b89fe835a1f5 [
file
] [
log
] [
blame
]
//@ check-pass
#![
expect
(
clippy
::
single_match
)]
enum
_MyOption
{
None
,
Some
(()),
}
impl
_MyOption
{
fn
_foo
(&
self
)
{
match
self
{
&
Self
::
Some
(
_
)
=>
{},
_
=>
{},
}
}
}
fn
main
()
{}