Sign in
android
/
toolchain
/
rustc
/
89a0a0cd9cbd0a0138a09bd877bbc73859a8c330
/
.
/
src
/
test
/
ui
/
pattern
/
suggest-adding-appropriate-missing-pattern-excluding-comments.fixed
blob: b28dce8810593c8b3b1c41487456a9352245c1b7 [
file
] [
log
] [
blame
]
// run-rustfix
fn main
()
{
match
Some
(
1
)
{
//~ ERROR non-exhaustive patterns: `None` not covered
Some
(
1
)
=>
{}
// hello
Some
(
_
)
=>
{}
None
=>
todo
!()
}
}