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

Refactoring towards region obligation #37717

Merged
merged 2 commits into from
Nov 17, 2016

Commits on Nov 15, 2016

  1. remove TypeOrigin and use ObligationCause instead

    In general having all these different structs for "origins" is not
    great, since equating types can cause obligations and vice-versa.  I
    think we should gradually collapse these things. We almost certainly
    also need to invest a big more energy into the `error_reporting` code to
    rationalize it: this PR does kind of the minimal effort in that
    direction.
    nikomatsakis committed Nov 15, 2016
    Configuration menu
    Copy the full SHA
    19c1a47 View commit details
    Browse the repository at this point in the history
  2. register infer-ok obligations properly

    Or at least, more properly. I think I left one or two FIXMEs still in
    there.
    
    cc rust-lang#32730
    nikomatsakis committed Nov 15, 2016
    Configuration menu
    Copy the full SHA
    48dc6e2 View commit details
    Browse the repository at this point in the history