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

Suggest #[repr(C)] instead of #[repr(C, packed, ...)] #66206

Merged
merged 1 commit into from
Nov 19, 2019

Commits on Nov 8, 2019

  1. Suggest #[repr(C)] instead of #[repr(C, packed, ...)]

    The code was previously suggesting `#[repr(C, packed, ...)]` for
    incorrect uses of `repr` (e.g. `#[repr = "C"]`). This change suggests
    the usage of `#[repr(C)]` instead.
    
    r? @estebank
    
    ref rust-lang#61286
    PotHix committed Nov 8, 2019
    Configuration menu
    Copy the full SHA
    3fa8692 View commit details
    Browse the repository at this point in the history