error: expected one of `=>`, `@`, `if`, or `|`, found `[` --> $DIR/issue-24375.rs:6:12 | LL | tmp[0] => {} | ^ expected one of `=>`, `@`, `if`, or `|` error: aborting due to previous error