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

typeck: adding type information to projection #73870

Merged
merged 1 commit into from
Jul 7, 2020

Commits on Jun 29, 2020

  1. typeck: adding type information to projection

    This commit modifies the Place as follow:
    * remove 'ty' from ProjectionKind
    * add type information into to Projection
    * replace 'ty' in Place with 'base_ty'
    * introduce 'ty()' in `Place` to return the final type of the `Place`
    * introduce `ty_before_projection()` in `Place` to return the type of
      a `Place` before i'th projection is applied
    
    Closes rust-lang/project-rfc-2229#5
    Azhng committed Jun 29, 2020
    Configuration menu
    Copy the full SHA
    7d7221c View commit details
    Browse the repository at this point in the history