1 #![feature(allow_internal_unstable)]
2 #![feature(bench_black_box)]
3 #![feature(extend_one)]
5 #![feature(min_specialization)]
6 #![feature(new_uninit)]
7 #![feature(step_trait)]
8 #![feature(stmt_expr_attributes)]
15 pub use rustc_macros::newtype_index;
17 /// Type size assertion. The first argument is a type and the second argument is its expected size.
19 macro_rules! static_assert_size {
20 ($ty:ty, $size:expr) => {
21 const _: [(); $size] = [(); ::std::mem::size_of::<$ty>()];