Skip to content

Commit 5a41eb8

Browse files
committed
Add some more THIR size assertions.
1 parent e3755c1 commit 5a41eb8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

compiler/rustc_middle/src/thir.rs

+3
Original file line numberDiff line numberDiff line change
@@ -808,6 +808,9 @@ mod size_asserts {
808808
// These are in alphabetical order, which is easy to maintain.
809809
static_assert_size!(Block, 56);
810810
static_assert_size!(Expr<'_>, 64);
811+
static_assert_size!(ExprKind<'_>, 40);
811812
static_assert_size!(Pat<'_>, 24);
813+
static_assert_size!(PatKind<'_>, 112);
812814
static_assert_size!(Stmt<'_>, 72);
815+
static_assert_size!(StmtKind<'_>, 64);
813816
}

0 commit comments

Comments
 (0)