-
Notifications
You must be signed in to change notification settings - Fork 105
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
[derive] Test TryFromBytes output on dataful enums #1665
Conversation
34f9091
to
32544ae
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1665 +/- ##
=======================================
Coverage 88.01% 88.01%
=======================================
Files 16 16
Lines 5805 5805
=======================================
Hits 5109 5109
Misses 696 696 ☔ View full report in Codecov by Sentry. |
test_derive! { | ||
TryFromBytes { | ||
#[repr(u8)] | ||
enum ComplexWithGenerics<X, Y> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unless it causes a failure (in which case, do this in a follow-up PR), could your example here include lifetimes, types, and const generics with a mix of inline and where
bounds?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Discussed offline. We'll follow up on this in another PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Follow-up PR: #1683
32544ae
to
4fe9719
Compare
Makes progress on #367, #1634