# tests: update for accepted language change · gitcafe/zig

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

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

Visibility: public

Requested revision: e5bc5b29a5f8d13d7f660fbaff9309793d14425e

Requested commit: e5bc5b29a5f8d13d7f660fbaff9309793d14425e

Commit: e5bc5b29a5f8d13d7f660fbaff9309793d14425e

Tree: f96089ac8fea50d1455d4ef44bc8e05377721aad

Author: Matthew Lugg

Committer: Matthew Lugg

## Message

```
tests: update for accepted language change

`@sizeOf` and `@bitSizeOf` are now more restricted: they are not allowed
on comptime-only or NPV (uninstantiable) types. This is because there is
no correct way to actually use the returned ABI size (e.g. you cannot
copy a comptime-only type by copying all of its runtime bits), so having
a non-zero return value had no benefit and was simply confusing.

```

## Parents

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

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