# Merge pull request \#22264 from mlugg/no-generic-callconv · gitcafe/zig

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

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

Visibility: public

Requested revision: e2e3633612be656177512873a9de6524082d04dd

Requested commit: e2e3633612be656177512873a9de6524082d04dd

Commit: e2e3633612be656177512873a9de6524082d04dd

Tree: c71b592a592e21b108fccc0be3f99a45b6a13c6e

Author: Matthew Lugg

Committer: GitHub

## Message

```
Merge pull request #22264 from mlugg/no-generic-callconv

compiler: disallow `callconv` etc from depending on function parameters

Also, disallow `align`/`linksection`/`addrspace` annotations on container-level declarations with comptime-only types.
```

## Parents

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

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

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