Sign in
rust
/
rust
/
6b4f4f57e70af5ec0052cb22d23a366e0ee60805
/
.
/
tests
/
ui
/
pattern
/
suggest-adding-appropriate-missing-pattern-excluding-comments.rs
blob: 7e4b60f8ff28d5abf520b8041059d733104f0575 [
file
] [
log
] [
blame
]
//@ run-rustfix
fn
main
()
{
match
Some
(
1
)
{
//~ ERROR non-exhaustive patterns: `None` not covered
Some
(
1
)
=>
{}
// hello
Some
(
_
)
=>
{}
}
}