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

hir: Refactor getters for owner nodes #120346

Merged
merged 3 commits into from
Jan 31, 2024
Merged

Commits on Jan 30, 2024

  1. hir: Simplify hir_owner_nodes query

    The query accept arbitrary DefIds, not just owner DefIds.
    The return can be an `Option` because if there are no nodes, then it doesn't matter whether it's due to NonOwner or Phantom.
    Also rename the query to `opt_hir_owner_nodes`.
    petrochenkov committed Jan 30, 2024
    Configuration menu
    Copy the full SHA
    64b6b5b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    667d5d3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    db41f4a View commit details
    Browse the repository at this point in the history