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

Issue 4846 multiple lifetime parameters #10153

Commits on Nov 8, 2013

  1. Create a new pass to resolve named lifetimes; rscope is not only

    used to indicate when anonymous regions (i.e., &T) are permitted
    nikomatsakis committed Nov 8, 2013
    Configuration menu
    Copy the full SHA
    8e1de17 View commit details
    Browse the repository at this point in the history
  2. Introduce ty_fold mechanism and port our various folders to use

    it. This should eventually be merged with the Subst trait.
    nikomatsakis committed Nov 8, 2013
    Configuration menu
    Copy the full SHA
    85c51d3 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2013

  1. Configuration menu
    Copy the full SHA
    1f4faae View commit details
    Browse the repository at this point in the history
  2. Introduce new variance inference pass that replaces (and generalizes)…

    … old
    
    region-parameterization/variance inference. We now compute variance for
    type parameters but do not make use of it (most of the way towards rust-lang#3598).
    nikomatsakis committed Nov 9, 2013
    Configuration menu
    Copy the full SHA
    9d3f57e View commit details
    Browse the repository at this point in the history
  3. Move comparing of impl methods against trait from collect to check.

    This code fits better in check because it is checking that the impl
    matches the interface. This allows us to avoid the awkward constructions
    that lazilly collect traits and so forth. It also permits us to make
    use of the results of variance inference.
    nikomatsakis committed Nov 9, 2013
    Configuration menu
    Copy the full SHA
    168ac52 View commit details
    Browse the repository at this point in the history
  4. Improve error reporting for region inference failures to make use of

    all the information it has at its disposal. Unfortunately this also
    reveals that we need to improve the reporting heuristics further,
    as sometimes the errors it chooses to emit seem somewhat mystifying
    and are not related to the actual problem.
    nikomatsakis committed Nov 9, 2013
    Configuration menu
    Copy the full SHA
    f57a28b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5e54a73 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    195f1d7 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    bc3e842 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f36a891 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    f4f4a35 View commit details
    Browse the repository at this point in the history
  10. Merge failures

    nikomatsakis committed Nov 9, 2013
    8 Configuration menu
    Copy the full SHA
    98f7973 View commit details
    Browse the repository at this point in the history
  11. 8 Configuration menu
    Copy the full SHA
    044dec4 View commit details
    Browse the repository at this point in the history
  12. 4 Configuration menu
    Copy the full SHA
    b32845d View commit details
    Browse the repository at this point in the history
  13. 4 Configuration menu
    Copy the full SHA
    a15196c View commit details
    Browse the repository at this point in the history
  14. Make irrelevant changes to regions-mock-tcx to convince the pretty pr…

    …inter to emit the same thing twice in a row
    nikomatsakis committed Nov 9, 2013
    5 Configuration menu
    Copy the full SHA
    f6e8d49 View commit details
    Browse the repository at this point in the history