# add compile error for initializing struct with non struct type · gitcafe/zig

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

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

Visibility: public

Requested revision: 090ff05054756a1394712117515766bd96913e49

Requested commit: 090ff05054756a1394712117515766bd96913e49

Commit: 090ff05054756a1394712117515766bd96913e49

Tree: 4832b9da9f26b4bb38db9bdb7f57392447ac50ec

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
add compile error for initializing struct with non struct type

```

## Parents

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

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