Add back expr size checks

This commit is contained in:
Maybe Waffle 2022-07-11 23:40:35 +04:00
parent df4fee9841
commit d2923b4007
2 changed files with 3 additions and 3 deletions

View file

@ -1112,8 +1112,8 @@ pub struct Expr {
}
// `Expr` is used a lot. Make sure it doesn't unintentionally get bigger.
//#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))]
//rustc_data_structures::static_assert_size!(Expr, 104); // FIXME
#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))]
rustc_data_structures::static_assert_size!(Expr, 104);
impl Expr {
/// Returns `true` if this expression would be valid somewhere that expects a value;