# stage2: better error reporting for LazySrcLoc.entire_file · gitcafe/zig

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

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

Visibility: public

Requested revision: 224fbb23c44628b215662c6199dff11cc2851f04

Requested commit: 224fbb23c44628b215662c6199dff11cc2851f04

Commit: 224fbb23c44628b215662c6199dff11cc2851f04

Tree: 5358766650dcfbcc72465d86f22c9e462848a965

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage2: better error reporting for LazySrcLoc.entire_file

instead of crashing the compilation, uses a plain error message

```

## Parents

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

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