diff options
Diffstat (limited to 'src/librustc_trans/trans/cabi.rs')
| -rw-r--r-- | src/librustc_trans/trans/cabi.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/librustc_trans/trans/cabi.rs b/src/librustc_trans/trans/cabi.rs index 518b0ba73f8..7aabd998f7a 100644 --- a/src/librustc_trans/trans/cabi.rs +++ b/src/librustc_trans/trans/cabi.rs @@ -31,6 +31,8 @@ pub enum ArgKind { Ignore, } +impl Copy for ArgKind {} + /// Information about how a specific C type /// should be passed to or returned from a function /// @@ -48,6 +50,8 @@ pub struct ArgType { pub attr: option::Option<Attribute> } +impl Copy for ArgType {} + impl ArgType { pub fn direct(ty: Type, cast: option::Option<Type>, pad: option::Option<Type>, |
