about summary refs log tree commit diff
path: root/tests/coverage/branch/lazy-boolean.rs
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 /tests/coverage/branch/lazy-boolean.rs
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 'tests/coverage/branch/lazy-boolean.rs')
0 files changed, 0 insertions, 0 deletions