Skip to content
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

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

joshlf
Copy link
Member

@joshlf joshlf commented Sep 16, 2024

Makes progress on #367, #1634

@joshlf joshlf requested a review from jswrenn September 16, 2024 00:24
@joshlf joshlf force-pushed the test-dataful-enum-derive-output branch 2 times, most recently from 34f9091 to 32544ae Compare September 16, 2024 00:29
@codecov-commenter
Copy link

codecov-commenter commented Sep 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.01%. Comparing base (dcf90f3) to head (4fe9719).

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.
📢 Have feedback on the report? Share it here.

test_derive! {
TryFromBytes {
#[repr(u8)]
enum ComplexWithGenerics<X, Y> {
Copy link
Collaborator

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?

Copy link
Member Author

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.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Follow-up PR: #1683

Base automatically changed from test-derive-output to main September 16, 2024 20:46
@joshlf joshlf force-pushed the test-dataful-enum-derive-output branch from 32544ae to 4fe9719 Compare September 17, 2024 14:52
@joshlf joshlf added this pull request to the merge queue Sep 17, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 17, 2024
@jswrenn jswrenn added this pull request to the merge queue Sep 17, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 17, 2024
@jswrenn jswrenn added this pull request to the merge queue Sep 17, 2024
Merged via the queue into main with commit 3c9f204 Sep 17, 2024
80 checks passed
@jswrenn jswrenn deleted the test-dataful-enum-derive-output branch September 17, 2024 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants