diff options
Diffstat (limited to 'src/types.rs')
-rw-r--r-- | src/types.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/types.rs b/src/types.rs index 5d7c5669..88b73e51 100644 --- a/src/types.rs +++ b/src/types.rs @@ -91,7 +91,6 @@ pub enum Type { TEnum(Rc<RefCell<EnumInfo>>) } -#[allow(dead_code)] impl Type { pub fn size(&self) -> usize { match self { @@ -108,6 +107,7 @@ impl Type { } } + #[allow(dead_code)] pub fn align(&self) -> usize { match self { &TInt(_, l) => l.align, |