Sign in
fuchsia
/
third_party
/
rust
/
a1d34bc33cfc8ee519d24155f15dc47ad0a83d99
/
.
/
tests
/
ui
/
inline-const
/
const-match-pat-inference.rs
blob: 3d3533839bc79daa6c898307e2434c8b03e358fa [
file
] [
log
] [
blame
]
//@ check-pass
#![
feature
(
inline_const_pat
)]
fn
main
()
{
match
1u64
{
0
=>
(),
const
{
0
+
1
}
=>
(),
const
{
2
-
1
}
..=
const
{
u64
::
MAX
}
=>
(),
}
}