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