]> git.proxmox.com Git - rustc.git/blobdiff - compiler/rustc_data_structures/src/macros.rs
New upstream version 1.61.0+dfsg1
[rustc.git] / compiler / rustc_data_structures / src / macros.rs
index 48dfbba7504ef741578cb019f0a7a415aefdb22d..e05491f6ff6e4b47ce6907337a2ee06fcc7397c0 100644 (file)
@@ -1,11 +1,3 @@
-/// Type size assertion. The first argument is a type and the second argument is its expected size.
-#[macro_export]
-macro_rules! static_assert_size {
-    ($ty:ty, $size:expr) => {
-        const _: [(); $size] = [(); ::std::mem::size_of::<$ty>()];
-    };
-}
-
 #[macro_export]
 macro_rules! enum_from_u32 {
     ($(#[$attr:meta])* pub enum $name:ident {