Sign in
android
/
toolchain
/
rustc
/
d720b3f2ba07cb42ff7b311589c99daefe3aaa22
/
.
/
tests
/
ui
/
inline-const
/
const-match-pat-inference.rs
blob: d83ae6e983486fe3bd21018fc8f2679f4999faeb [
file
] [
log
] [
blame
]
// check-pass
#![
feature
(
inline_const_pat
)]
#![
allow
(
incomplete_features
)]
fn
main
()
{
match
1u64
{
0
=>
(),
const
{
0
+
1
}
=>
(),
const
{
2
-
1
}
..=
const
{
u64
::
MAX
}
=>
(),
}
}