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

Disable polymorphisation #74633

Merged
merged 3 commits into from
Jul 22, 2020

Commits on Jul 22, 2020

  1. mir: improve polymorphic constant bug

    This commit changes the span and content of the "collection encountered
    polymorphic constant" bug in monomorphization collection to point to the
    use of the constant rather than the definition.
    
    Signed-off-by: David Wood <david@davidtw.co>
    davidtwco committed Jul 22, 2020
    Configuration menu
    Copy the full SHA
    90e941a View commit details
    Browse the repository at this point in the history
  2. sess: disable polymorphisation

    This commit disables polymorphisation to resolve regressions related to
    closures which inherit unused generic parameters and are then used in
    casts or reflection.
    
    Signed-off-by: David Wood <david@davidtw.co>
    davidtwco committed Jul 22, 2020
    Configuration menu
    Copy the full SHA
    f39ed20 View commit details
    Browse the repository at this point in the history
  3. tests: add regression test for rust-lang#74614

    This commit adds a regression test for rust-lang#74614 so that it is fixed before
    polymorphisation is re-enabled.
    
    Signed-off-by: David Wood <david@davidtw.co>
    davidtwco committed Jul 22, 2020
    Configuration menu
    Copy the full SHA
    799d52e View commit details
    Browse the repository at this point in the history