diff options
| author | Dan Robertson <dan@dlrobertson.com> | 2018-11-30 15:53:44 +0000 |
|---|---|---|
| committer | Dan Robertson <dan@dlrobertson.com> | 2019-02-27 10:21:35 -0500 |
| commit | 58147d486bc26eb59d18d8e0d83aa6fe0b467fb9 (patch) | |
| tree | 3e25be958b33c7e5727b059511157ac9f1a22722 /src/libsyntax/ast.rs | |
| parent | cd56472cc47981e62c684ceada7922ac3731b785 (diff) | |
| download | rust-58147d486bc26eb59d18d8e0d83aa6fe0b467fb9.tar.gz rust-58147d486bc26eb59d18d8e0d83aa6fe0b467fb9.zip | |
Support defining C compatible variadic functions
Add support for defining C compatible variadic functions in unsafe rust with extern "C".
Diffstat (limited to 'src/libsyntax/ast.rs')
| -rw-r--r-- | src/libsyntax/ast.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libsyntax/ast.rs b/src/libsyntax/ast.rs index 9c4945d74db..5bae00b9cb8 100644 --- a/src/libsyntax/ast.rs +++ b/src/libsyntax/ast.rs @@ -1643,6 +1643,8 @@ pub enum TyKind { Mac(Mac), /// Placeholder for a kind that has failed to be defined. Err, + /// Placeholder for a `va_list`. + CVarArgs, } impl TyKind { |
