# Sema: do not emit \`@errorCast\` safety check when dest is adhoc inferred error set · gitcafe/zig

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

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

Visibility: public

Requested revision: f7822029100de9f91c9a7758ffb32d95f7768f70

Requested commit: f7822029100de9f91c9a7758ffb32d95f7768f70

Commit: f7822029100de9f91c9a7758ffb32d95f7768f70

Tree: 551ee2c7a6600facd02e27c62650483f89ba0986

Author: Veikka Tuominen

Committer: Veikka Tuominen

## Message

```
Sema: do not emit `@errorCast` safety check when dest is adhoc inferred error set

Closes #17354

```

## Parents

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

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