Sign in
chromium
/
external
/
github.com
/
rust-lang
/
rust
/
6d71251cf9e40326461f90f8ff9a7024706aea87
/
.
/
tests
/
ui
/
pattern
/
suggest-adding-appropriate-missing-pattern-excluding-comments.fixed
blob: db09fd1c0328e99487951f631dbe4dbd8412d70f [
file
] [
log
] [
blame
]
//@ run-rustfix
fn main
()
{
match
Some
(
1
)
{
//~ ERROR non-exhaustive patterns: `None` not covered
Some
(
1
)
=>
{}
// hello
Some
(
_
)
=>
{},
None
=>
todo
!()
}
}