parsers: Conditional on rustc version for test_size tests
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
309b4cf87d
commit
4244dc2be1
1 changed files with 4 additions and 0 deletions
|
@ -704,7 +704,11 @@ mod tests {
|
|||
assert_size!(Senders, 1);
|
||||
assert_size!(Disposition, 1);
|
||||
assert_size!(ContentId, 24);
|
||||
// TODO: Remove conditional
|
||||
#[cfg(feature = "nightly")]
|
||||
assert_size!(Content, 448);
|
||||
#[cfg(feature = "stable")]
|
||||
assert_size!(Content, 440);
|
||||
assert_size!(Reason, 1);
|
||||
assert_size!(ReasonElement, 32);
|
||||
assert_size!(SessionId, 24);
|
||||
|
|
Loading…
Reference in a new issue