Sign in
rust
/
rust
/
HEAD
/
.
/
tests
/
ui
/
pattern
/
issue-88074-pat-range-type-inference.rs
blob: ce8087204116c041e45d1c530d55e04330494c6e [
file
] [
log
] [
blame
]
//@ check-pass
trait
Zero
{
const
ZERO
:
Self
;
}
impl
Zero
for
i32
{
const
ZERO
:
Self
=
0
;
}
fn
main
()
{
match
1
{
Zero
::
ZERO
..=
1
=>
{},
_
=>
{},
}
}