Skip to content

xtask: Improve error message for enums in uefi-raw #1660

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

Merged
merged 1 commit into from
May 9, 2025
Merged

Conversation

nicholasbishop
Copy link
Member

Instead of a generic "forbidden type of item" error, recommend using the newtype_enum! macro.

Motivated by #1658 (comment)

Checklist

  • Sensible git history (for example, squash "typo" or "fix" commits). See the Rewriting History guide for help.
  • Update the changelog (if necessary)

Instead of a generic "forbidden type of item" error, recommend using the
`newtype_enum!` macro.
@phip1611 phip1611 force-pushed the bishop-xtask-enum branch from bc62d52 to dbf0152 Compare May 9, 2025 09:20
@phip1611 phip1611 enabled auto-merge May 9, 2025 09:20
@phip1611 phip1611 added this pull request to the merge queue May 9, 2025
Merged via the queue into main with commit 97390cb May 9, 2025
20 checks passed
@phip1611 phip1611 deleted the bishop-xtask-enum branch May 9, 2025 09:31
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.

2 participants