# add compile error for @atomicRmw on enum not being an \.Xchg · gitcafe/zig

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

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

Visibility: public

Requested revision: b83ce08a3b51c58096ab0b2383212a2124794c82

Requested commit: b83ce08a3b51c58096ab0b2383212a2124794c82

Commit: b83ce08a3b51c58096ab0b2383212a2124794c82

Tree: bfddaa199d28c32e6a0f5b0b0d950923d1cb868d

Author: Vexu

Committer: Andrew Kelley

## Message

```
add compile error for @atomicRmw on enum not being an .Xchg

```

## Parents

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

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