diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2024-01-25 19:16:38 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2024-01-30 15:00:52 +0300 |
| commit | 64b6b5b6ce078684dea0d312e3ac0911e1d6a0df (patch) | |
| tree | 0855baa9a6a74ccced8920fea0c6bf01bb0c68b8 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | c401f099795231fca8adf6619d76ccdcfbbfd2f9 (diff) | |
| download | rust-64b6b5b6ce078684dea0d312e3ac0911e1d6a0df.tar.gz rust-64b6b5b6ce078684dea0d312e3ac0911e1d6a0df.zip | |
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`.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
