Add an size assertion.
`Option<LazyAttrTokenStream>` is the type that's actually used in all the aST nodes.
This commit is contained in:
parent
022582ca46
commit
9f16f1f6f6
1 changed files with 1 additions and 0 deletions
|
@ -765,6 +765,7 @@ mod size_asserts {
|
|||
static_assert_size!(AttrTokenStream, 8);
|
||||
static_assert_size!(AttrTokenTree, 32);
|
||||
static_assert_size!(LazyAttrTokenStream, 8);
|
||||
static_assert_size!(Option<LazyAttrTokenStream>, 8); // must be small, used in many AST nodes
|
||||
static_assert_size!(TokenStream, 8);
|
||||
static_assert_size!(TokenTree, 32);
|
||||
// tidy-alphabetical-end
|
||||
|
|
Loading…
Add table
Reference in a new issue