Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
parser
/
issues
/
issue-24375.rs
blob: a5e256b7f15540b5af95de4ac6b7e8c002540742 [
file
] [
log
] [
blame
] [
edit
]
static
tmp
:
[&
'
static
str
;
2
]
=
[
"hello"
,
"he"
];
fn
main
()
{
let
z
=
"hello"
;
match
z
{
tmp
[
0
]
=>
{}
//~ error: expected a pattern, found an expression
_
=>
{}
}
}