about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorDavid Wood <david.wood@huawei.com>2023-12-07 17:06:08 +0000
committerDavid Wood <david.wood@huawei.com>2023-12-08 14:26:03 +0000
commit5d977240023003f9f8d82e42fd7d45bbfd630954 (patch)
treebd40473434742260626ffa7630915d8b7704b9b0 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent5ea62560f294947e55b0cf895dae23fe3c41777c (diff)
downloadrust-5d977240023003f9f8d82e42fd7d45bbfd630954.tar.gz
rust-5d977240023003f9f8d82e42fd7d45bbfd630954.zip
privacy: visit trait def id of projections
A refactoring in #117076 changed the `DefIdVisitorSkeleton` to avoid
calling `visit_projection_ty` for `ty::Projection` aliases, and instead
just iterate over the args - this makes sense, as `visit_projection_ty`
will indirectly visit all of the same args, but in doing so, will also
create a `TraitRef` containing the trait's `DefId`, which also gets
visited. The trait's `DefId` isn't visited when we only visit the
arguments without separating them into `TraitRef` and own args first.

Signed-off-by: David Wood <david@davidtw.co>
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions