Closed zachs18 closed 1 month ago
Adjusts the test introduced in #258 to match the semantics introduced in #256.
Also adds a check that non-empty-BoxBytes -> boxed-ZST-slice fails, and a regression test that dropping an empty BoxBytes isn't UB (when run under Miri).
Adjusts the test introduced in #258 to match the semantics introduced in #256.
Also adds a check that non-empty-BoxBytes -> boxed-ZST-slice fails, and a regression test that dropping an empty BoxBytes isn't UB (when run under Miri).