-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support testing TryFromBytes for !NoCell types (#924)
Previously, our test harness for `TryFromBytes` types assumed that those types also implemented `NoCell`. This commit introduces machinery that allows us to conditionally execute certain steps of our tests depending on whether or not the type under test implements `NoCell`. This commit also lifts the `T: NoCell` bound in `TryFromBytes for MaybeUninit<T>` in order to test this machinery. Makes progress on #5 Co-authored-by: Jack Wrenn <jswrenn@amazon.com>
- Loading branch information
Showing
1 changed file
with
226 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters