# stage2: make \`error\{\}\` the same size as \`anyerror\` · gitcafe/zig

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

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

Visibility: public

Requested revision: 0333ff4476d0132a2397122dcab964de7fc0f2d3

Requested commit: 0333ff4476d0132a2397122dcab964de7fc0f2d3

Commit: 0333ff4476d0132a2397122dcab964de7fc0f2d3

Tree: 8032dc588ab76313580feec71e07077ab1209960

Author: Veikka Tuominen

Committer: Veikka Tuominen

## Message

```
stage2: make `error{}` the same size as `anyerror`

Having `error{}` be a zero bit type causes issues when it interracts
with empty inferred error sets which are the same size as `anyerror`.

```

## Parents

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

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