mirror of
https://github.com/servo/servo.git
synced 2025-08-19 04:15:33 +01:00
Box DeclaredValue::WithVariables
This commit is contained in:
parent
43731c5757
commit
adb6d20293
6 changed files with 53 additions and 44 deletions
|
@ -7,7 +7,7 @@ use style::properties::{PropertyDeclaration, specified_value_sizes};
|
|||
|
||||
#[test]
|
||||
fn size_of_property_declaration() {
|
||||
let old = 72;
|
||||
let old = 48;
|
||||
let new = size_of::<PropertyDeclaration>();
|
||||
if new < old {
|
||||
panic!("Your changes have decreased the stack size of PropertyDeclaration enum from {} to {}. \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue