# Sema: emit error for always_inline call of noinline function · gitcafe/zig

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

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

Visibility: public

Requested revision: bd8b5c25ece2fa158196381004db6e655226576c

Requested commit: bd8b5c25ece2fa158196381004db6e655226576c

Commit: bd8b5c25ece2fa158196381004db6e655226576c

Tree: 770abdc5199160fa4cb5b2eafb0baa06a300e2cd

Author: r00ster91

Committer: r00ster91

## Message

```
Sema: emit error for always_inline call of noinline function

Fixes #15489

This also lays the groundwork for exposing the whether or not a function is
noinline in std.builtin.Fn as an `is_noinline: bool` field if we ever want to do that.

```

## Parents

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

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