#![cfg(target_pointer_width = "64")] extern crate syn_impersonated as syn; extern crate quote_impersonated as quote; extern crate proc_macro2_impersonated as proc_macro2; mod features; use std::mem; use syn::*; #[test] fn test_expr_size() { assert_eq!(mem::size_of::(), 280); } #[test] fn test_item_size() { assert_eq!(mem::size_of::(), 344); } #[test] fn test_type_size() { assert_eq!(mem::size_of::(), 304); } #[test] fn test_pat_size() { assert_eq!(mem::size_of::(), 144); } #[test] fn test_lit_size() { assert_eq!(mem::size_of::(), 40); }