Sign in
rust
/
rust-lang
/
rust
/
HEAD
/
.
/
tests
/
ui
/
parser
/
unnecessary-let.fixed
blob: bdee07e76aaec422a5425ae40f2a851915abaf33 [
file
] [
log
] [
blame
]
//@ run-rustfix
fn main
()
{
for
_x
in
[
1
,
2
,
3
]
{}
//~^ ERROR expected pattern, found `let`
//~| ERROR missing `in` in `for` loop
match
1
{
1
=>
{}
//~^ ERROR expected pattern, found `let`
_
=>
{}
}
}