Sign in
fuchsia
/
third_party
/
rust
/
03534ac8b70de1134ce7e91b172cd629048a6c8b
/
.
/
tests
/
ui
/
parser
/
unnecessary-let.rs
blob: 6279109621d704c64278d7866b61bdd333e46bdc [
file
] [
log
] [
blame
]
fn
main
()
{
for
let
x of
[
1
,
2
,
3
]
{}
//~^ ERROR expected pattern, found `let`
//~| ERROR missing `in` in `for` loop
match
1
{
let
1
=>
{}
//~^ ERROR expected pattern, found `let`
_
=>
{}
}
}