| ... | ... | @@ -2,9 +2,6 @@ pub const CallModifier = enum { |
| 2 | 2 | /// Equivalent to function call syntax. |
| 3 | 3 | auto, |
| 4 | 4 | |
| 5 | | /// Equivalent to async keyword used with function call syntax. |
| 6 | | async_kw, |
| 7 | | |
| 8 | 5 | /// Prevents tail call optimization. This guarantees that the return |
| 9 | 6 | /// address will point to the callsite, as opposed to the callsite's |
| 10 | 7 | /// callsite. If the call is otherwise required to be tail-called |
| ... | ... | @@ -17,7 +14,7 @@ pub const CallModifier = enum { |
| 17 | 14 | |
| 18 | 15 | /// Asserts that the function call will not suspend. This allows a |
| 19 | 16 | /// non-async function to call an async function. |
| 20 | | no_async, |
| 17 | no_suspend, |
| 21 | 18 | |
| 22 | 19 | /// Guarantees that the call will be generated with tail call optimization. |
| 23 | 20 | /// If this is not possible, a compile error is emitted instead. |