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

Fix #54822 and associated faulty tests #59083

Merged
merged 2 commits into from
Mar 13, 2019
Merged

Fix #54822 and associated faulty tests #59083

merged 2 commits into from
Mar 13, 2019

Commits on Mar 11, 2019

  1. Fix #54822 and associated faulty tests

    Type checking associated constants can require trait bounds, but an empty
    parameter environment was provided to the trait solver.  Providing an
    appropriate parameter environment seems to fix #54822 and also make one of the
    cases in src/test/ui/nll/trait-associated-constant.rs that should compile
    successfully do so.  It also (slightly) improves the error message in
    src/test/ui/associated-const/associated-const-generic-obligations.rs
    kyren committed Mar 11, 2019
    Configuration menu
    Copy the full SHA
    8b1742e View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2019

  1. Configuration menu
    Copy the full SHA
    aa9bd68 View commit details
    Browse the repository at this point in the history