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