# std.zig.Ast: don't set the \`data\` field on \`\.error_value\` and \`\.enum_literal\` · gitcafe/zig

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

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

Visibility: public

Requested revision: d84055f9c69986f60087cf1a37f895362725f88d

Requested commit: d84055f9c69986f60087cf1a37f895362725f88d

Commit: d84055f9c69986f60087cf1a37f895362725f88d

Tree: db8d825e72b6d5a7a6c8ff13c28a964308fb5972

Author: Techatrix

Committer: Techatrix

## Message

```
std.zig.Ast: don't set the `data` field on `.error_value` and `.enum_literal`

The main_token already has the necessary information.

```

## Parents

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

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