# turn assertion into compile error for using var as return type · gitcafe/zig

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

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

Visibility: public

Requested revision: 6b5cfd9d9963d2f1e91dfdb40f26c2ad11beb3c4

Requested commit: 6b5cfd9d9963d2f1e91dfdb40f26c2ad11beb3c4

Commit: 6b5cfd9d9963d2f1e91dfdb40f26c2ad11beb3c4

Tree: 80b8530ad4d55c603dd0110cf15e9e335e7e5841

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
turn assertion into compile error for using var as return type

closes #758

```

## Parents

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

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