Sign in
fuchsia
/
third_party
/
rust
/
9ae1a664f7b947dadb9e97eea7703831d9cd5d31
/
.
/
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"
),
}
}