about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorAdrian Taylor <adetaylor@chromium.org>2024-11-11 13:47:51 +0000
committerAdrian Taylor <adetaylor@chromium.org>2024-12-11 11:59:12 +0000
commit48e1df87e1422a845f05a8f6c5fc4773758cc9d9 (patch)
tree685f48edf844110d409baf97436d854d72d04f5f /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent2707f5578da273284770298be9202c0cdd6621b3 (diff)
downloadrust-48e1df87e1422a845f05a8f6c5fc4773758cc9d9.tar.gz
rust-48e1df87e1422a845f05a8f6c5fc4773758cc9d9.zip
Arbitrary self types v2: deshadow quicker
A previous commit added a search for certain types of "shadowing"
situation where one method (in an outer smart pointer type, typically)
might hide or shadow the method in the pointee.

Performance investigation showed that the naïve approach is too slow -
this commit speeds it up, while being functionally the same.

This still does not actually cause the deshadowing check to emit any
errors; that comes in a subsequent commit which is where all the tests
live.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions