Sign in
fuchsia
/
third_party
/
rust
/
4ec9703467c6934bf0bc8be922f242226c32d0aa
/
.
/
src
/
test
/
ui
/
issues
/
issue-27895.rs
blob: 0018ac1bdf164a1fcf68ce7d5a7681fdd3d34066 [
file
] [
log
] [
blame
]
fn
main
()
{
let
i
=
5
;
let
index
=
6
;
match
i
{
0.
.=
index
=>
println
!(
"winner"
),
//~^ ERROR runtime values cannot be referenced in patterns
_
=>
println
!(
"hello"
),
}
}