# parser: improve error message for missing var/const before local variable · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/9607bd90e6927eea0fc7d57e042d03657afbf70d)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 9607bd90e6927eea0fc7d57e042d03657afbf70d

Requested commit: 9607bd90e6927eea0fc7d57e042d03657afbf70d

Commit: 9607bd90e6927eea0fc7d57e042d03657afbf70d

Tree: 7ca539104ffc8e42b49f70ae73592b338836fec7

Author: Veikka Tuominen

Committer: Veikka Tuominen

## Message

```
parser: improve error message for missing var/const before local variable

Closes #12721

```

## Parents

- [1ea1228036b6d3424c46a3ce66f4b7cbf461fc21](https://git.cafe/gitcafe/zig/commit/1ea1228036b6d3424c46a3ce66f4b7cbf461fc21?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/9607bd90e6927eea0fc7d57e042d03657afbf70d?format=markdown)
