Support deriving AsBytes
on unsized types
#121
Labels
compatibility-nonbreaking
Changes that are (likely to be) non-breaking
AsBytes
on unsized types
#121
Currently, the code generated by our
AsBytes
derive includes calls tocore::mem::size_of
in order to determine whether a type has padding (unless the type isrepr(transparent)
orrepr(packed)
). This prevents derivingAsBytes
on unsized non-repr(transparent)
/repr(packed)
types.The text was updated successfully, but these errors were encountered: