Sign in
rust
/
rust
/
HEAD
/
.
/
tests
/
ui
/
pattern
/
usefulness
/
integer-ranges
/
issue-117648-overlapping_range_endpoints-false-positive.rs
blob: 7c9ea341ddb2054d8ee7731100fa512f2356e046 [
file
] [
log
] [
blame
]
//@ check-pass
fn
main
()
{
match
(
0i8
,
0i8
)
{
(
0
,
_
)
=>
{}
(..=-
1
,
..=
0
)
=>
{}
(
1.
.,
0.
.)
=>
{}
(
1.
.,
..=-
1
)
|
(..=-
1
,
1.
.)
=>
{}
}
}