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

Improve error messages for multiple enums in a c_enum! block #11

Merged
merged 1 commit into from
Oct 24, 2023

Commits on Oct 24, 2023

  1. Improve error messages for multiple enums in a c_enum! block

    Version 0.2.0 removed the ability to declare multiple enums in a single
    c_enum! block. However, if you have existing code that does this then
    the error message doesn't really explain what went wrong. This commit
    adds a custom compile_error! message in addition to the regular error.
    Phantomical committed Oct 24, 2023
    Configuration menu
    Copy the full SHA
    dc859a9 View commit details
    Browse the repository at this point in the history