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

Implement for<> lifetime binder for closures #98705

Merged
merged 12 commits into from
Jul 14, 2022

Commits on Jul 12, 2022

  1. Parse closure binders

    This is first step in implementing RFC 3216.
    - Parse `for<'a>` before closures in ast
      - Error in lowering
    - Add `closure_lifetime_binder` feature
    WaffleLapkin committed Jul 12, 2022
    Configuration menu
    Copy the full SHA
    40ae7b5 View commit details
    Browse the repository at this point in the history
  2. --bless tests

    WaffleLapkin committed Jul 12, 2022
    Configuration menu
    Copy the full SHA
    97fcead View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f89ef3c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c2dbd62 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0c28484 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    577f3c6 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3ebb852 View commit details
    Browse the repository at this point in the history
  8. Add an indirection for closures in hir::ExprKind

    This helps bring `hir::Expr` size down, `Closure` was the biggest
    variant, especially after `for<>` additions.
    WaffleLapkin committed Jul 12, 2022
    Configuration menu
    Copy the full SHA
    df4fee9 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    d2923b4 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    b504a18 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    30a3673 View commit details
    Browse the repository at this point in the history
  12. Fix clippy build

    WaffleLapkin committed Jul 12, 2022
    Configuration menu
    Copy the full SHA
    9aa142b View commit details
    Browse the repository at this point in the history