style: Move size of tests to compile-time tests in the style crate

Same reasoning as the previous commit.

Differential Revision: https://phabricator.services.mozilla.com/D146104
This commit is contained in:
Emilio Cobos Álvarez 2023-08-14 22:05:25 +02:00 committed by Martin Robinson
parent 50d31686be
commit f48b95e2e3
13 changed files with 53 additions and 49 deletions

View file

@ -208,3 +208,6 @@ impl ApplicableDeclarationBlock {
(self.source, self.cascade_priority)
}
}
// Size of this struct determines sorting and selector-matching performance.
size_of_test!(ApplicableDeclarationBlock, 24);