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

lint: use transparent_newtype_field to avoid ICE #74340

Commits on Jul 14, 2020

  1. lint: use transparent_newtype_field to avoid ICE

    This commit re-uses the `transparent_newtype_field` function instead of
    manually calling `is_zst` on normalized fields to determine which field
    in a transparent type is the non-zero-sized field, thus avoiding an ICE.
    
    Signed-off-by: David Wood <david@davidtw.co>
    davidtwco committed Jul 14, 2020
    Configuration menu
    Copy the full SHA
    cccc310 View commit details
    Browse the repository at this point in the history