Skip to content

Test derives on generic, unsized types #129

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
joshlf opened this issue Nov 7, 2022 · 1 comment
Closed

Test derives on generic, unsized types #129

joshlf opened this issue Nov 7, 2022 · 1 comment
Labels
blocking-next-release This issue should be resolved before we release on crates.io

Comments

@joshlf
Copy link
Member

joshlf commented Nov 7, 2022

We currently don't have any tests for our derives on generic, unsized types such as:

#[derive(FromBytes, AsBytes, Unaligned)]
#[repr(transparent)]
struct Foo<T: ?Sized>(T);
#[derive(FromBytes, AsBytes, Unaligned)]
#[repr(packed)]
struct Bar<T: ?Sized>(T);
@joshlf joshlf added the blocking-next-release This issue should be resolved before we release on crates.io label Nov 7, 2022
@joshlf
Copy link
Member Author

joshlf commented Nov 8, 2022

Resolved by 342260b.

@joshlf joshlf closed this as completed Nov 8, 2022
@joshlf joshlf mentioned this issue Aug 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocking-next-release This issue should be resolved before we release on crates.io
Projects
None yet
Development

No branches or pull requests

1 participant