# Sema: fix use of Zcu.LazySrcLoc in error message · gitcafe/zig

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

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

Visibility: public

Requested revision: a221b2fbf2829e2e8ba5ecd2d7569e619a66d69b

Requested commit: a221b2fbf2829e2e8ba5ecd2d7569e619a66d69b

Commit: a221b2fbf2829e2e8ba5ecd2d7569e619a66d69b

Tree: f5290a3a9e0374966b5593174696975fd9fb6d3d

Author: wooster0

Committer: Matthew Lugg

## Message

```
Sema: fix use of Zcu.LazySrcLoc in error message

It currently prints as:

:3:18: error: untagged union 'Zcu.LazySrcLoc{ .base_node_inst = InternPool.TrackedInst.Index(104), .offset = Zcu.LazySrcLoc.Offset{ .node_offset = Zcu.LazySrcLoc.Offset.TracedOffset{ .x = -2, .trace = (value tracing disabled) } } }' cannot be converted to integer

```

## Parents

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

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