Sign in
fuchsia
/
third_party
/
rust
/
15f159addefd8fea7564ba7617c8af78582b7816
/
.
/
src
/
test
/
ui
/
parser
/
issue-24375.rs
blob: 1d128d33e4f49d53cfd4d4a8de88db95e35f25d2 [
file
] [
log
] [
blame
]
static
tmp
:
[&
'
static
str
;
2
]
=
[
"hello"
,
"he"
];
fn
main
()
{
let
z
=
"hello"
;
match
z
{
tmp
[
0
]
=>
{}
//~ ERROR expected one of `=>`, `@`, `if`, or `|`, found `[`
_
=>
{}
}
}