# add compile error for casting const array to mutable slice · gitcafe/zig

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

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

Visibility: public

Requested revision: 9c8dfadbb1b95703a1503ae3a508f5acc29e7695

Requested commit: 9c8dfadbb1b95703a1503ae3a508f5acc29e7695

Commit: 9c8dfadbb1b95703a1503ae3a508f5acc29e7695

Tree: e5884cb00c039385d68b1153a130cd6df0f80b77

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
add compile error for casting const array to mutable slice

See #1565

```

## Parents

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

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