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 DiscriminantKind handling #74276

Merged
merged 1 commit into from
Jul 16, 2020
Merged

Commits on Jul 15, 2020

  1. improve DiscriminantKind handling

    This now reuses `fn discriminant_ty` in project, removing
    some code duplication. Doing so made me realize that
    we previously had a disagreement about the discriminant
    type of generators, with MIR using `u32` and codegen and
    trait selection using `i32`.
    
    We now always use `u32`.
    lcnr committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    fcf52c1 View commit details
    Browse the repository at this point in the history