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

rustc_mir_transform cleanups #129738

Merged
merged 13 commits into from
Sep 2, 2024

Commits on Aug 30, 2024

  1. Remove unused features.

    nnethercote committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    016a2e3 View commit details
    Browse the repository at this point in the history
  2. Condense use rustc_* declarations.

    No reason to have two of them listed separately, after modules.
    nnethercote committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    016a709 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fda52b8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2932e09 View commit details
    Browse the repository at this point in the history
  5. Simplify a pattern.

    nnethercote committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    66b3585 View commit details
    Browse the repository at this point in the history
  6. Use a local variable.

    nnethercote committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    3b6af9a View commit details
    Browse the repository at this point in the history
  7. Merge some ifs.

    For more concise code.
    nnethercote committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    5331280 View commit details
    Browse the repository at this point in the history
  8. Merge DerefArgVisitor and PinArgVisitor.

    They are almost identical, differing only in the `ProjectionElem` they
    insert. This commit merges them into a new type `SelfArgVisitor`.
    nnethercote committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    d7cb118 View commit details
    Browse the repository at this point in the history
  9. Remove some unnecessary constants.

    These are just renamings of `CoroutineArgs` constants.
    nnethercote committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    408481f View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    590a021 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    243109e View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    8541b0f View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    ac7a293 View commit details
    Browse the repository at this point in the history