]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_data_structures/src/macros.rs
Rollup merge of #94264 - NyantasticUwU:patch-1, r=yaahc
[rust.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 {