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

Two HIR tweaks #57658

Merged
merged 2 commits into from
Jan 19, 2019
Merged

Two HIR tweaks #57658

merged 2 commits into from
Jan 19, 2019

Commits on Jan 16, 2019

  1. Use Lit rather than P<Lit> in hir::ExprKind.

    It's simpler and makes some benchmark run up to 1% faster. It also makes
    `hir::ExprKind` more like `ast::ExprKind` (which underwent the
    equivalent change in rust-lang#55777).
    nnethercote committed Jan 16, 2019
    Configuration menu
    Copy the full SHA
    ae4b14e View commit details
    Browse the repository at this point in the history
  2. Remove hir::Label.

    It's identical to `ast::Label`.
    nnethercote committed Jan 16, 2019
    Configuration menu
    Copy the full SHA
    dc45528 View commit details
    Browse the repository at this point in the history