Sign in
◑
Theme
rust
/
rust
/
2a61ba8577ed3c3e1cfeb433d06cf5464ff2fdf3
/
.
/
tests
/
ui
/
binding
/
range-inclusive-pattern-precedence.rs
blob: da936021bc57fe4bc30040ee6684bbc01a09ddeb [
file
]
//@ run-pass
const
VALUE
:
usize
=
21
;
pub
fn
main
()
{
match
&
18
{
&(
18.
.=
18
)
=>
{}
_
=>
{
unreachable
!();
}
}
match
&
21
{
&(
VALUE
..=
VALUE
)
=>
{}
_
=>
{
unreachable
!();
}
}
}