# Get panic messages from builtin instead of creating anon decls · gitcafe/zig

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

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

Visibility: public

Requested revision: 258bee41bf58c9001ceaefc974fa594a26ac0fc5

Requested commit: 258bee41bf58c9001ceaefc974fa594a26ac0fc5

Commit: 258bee41bf58c9001ceaefc974fa594a26ac0fc5

Tree: 52e858faeec541aca8323315d0a681b1cb5cab66

Author: Jimmi Holst Christensen

Committer: Andrew Kelley

## Message

```
Get panic messages from builtin instead of creating anon decls

The TODO comment in safetyPanic mentions introducing the concept of
reference-counted decls. That sounds like Zig current semantics for
normal declarations. By placing the panic messages in builtin there is
no need for another concept in the compiler.

```

## Parents

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

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